Version 2 (modified by ehuelsmann, 9 years ago) (diff)




Ant abcl.debug.jpda target

When running the Ant target abcl.debug.jpda, a JVM is started waiting for a JDB (java debugger) to attach. On Windows (with the JDK 1.5.0_16) I need to run this command (in a different window) to attach to the session:

$ %JDKPATH%\jdb -connect com.sun.jdi.SocketAttach:port=6789

After that, you have (command line) access to the JVM in which ABCL is running.

Analyzing compiler output

In order to find errors in the output generated by the compiler, you can look at the textual .abcl or ._ files as described in FaslFormatAndLoading. There are .cls files. These are basically Java class files and can be de-compiled with JAD.