Run and Debug Settings
Allows to define main classes and their arguments. The easiest way to add configurations is to select
the main class in the filetree or editor and choose 'Run|Run selected class' from the global menu. This will automatically
add a new configuration for this class.
- working directory - defines the current directory of the started process. Since the debug-API currently
does not offer the possibility to pass this option, this works only when running a process in non-debug mode.
As a workaround, AnyJ passes this setting as System property 'user.dir' to the debug process. Use absolute paths
in your program or use remote debugging (Run | Remote Debug).
- Use -classic - Speeds up debugging with JDK 1.3. Note that the classic VM does not understand some commandline options, which are supported by the
hotspot VM. (Look at the 'output' panel in the debugger panel to view error messages). This option is not supported
by JDK 1.4
- Use -Xbootclasspath - Enables to patch the System classes (rt.jar) by prepending your own version in
the classpath. Usually unchecked.
- Use -Xint Runs the hotspot VM in interpreter mode during debugging (slow..). Maybe useful if the program
crashes frequently using JDK 1.4 new feature (JIT'ed debugging). Default: unchecked. Not supported by
older JDKs.
Multi Processors:
Debugging on multiprocessor machines does not work with JDK1.3.x since the JPDA interface is not multi-processor aware
currently. To workaround this, run AnyJ with one CPU only (Windows: 'Task Manager, Set Affinity').
This is required for AnyJ, not for the program you are about to debug. This is not necessary with JDK 1.4.