Setting Options for Debugging Java

You can specify the following options when you use Stylus Studio to debug Java code:

  • Source Path is the path that Stylus Studio uses to locate the source files during debugging.
  • Prompt user for source file path confirmation indicates that if Stylus Studio cannot find the source files you are debugging, it prompts you to specify the source file path. If you do not set this option, and Stylus Studio cannot find a source file, the behavior varies according to what the debugger is trying to do. For example, if the debugger is stepping into an instruction that calls a function that is defined in a Java file that Stylus Studio cannot find, the debugger steps over the instruction.
  • Never step into classes starting with one of the following strings of characters: contains a list of classes, one on each line, that you do not want to step into. For example, these might be classes that are part of the core language, or classes that you do not have source files for. If you specify java.lang, the debugger skips all classes whose names start with java.lang, for example, java.lang.String and java.lang.Object.
  • JVM communication time out indicates the amount of time that Stylus Studio waits for a response from the JVM. If Stylus Studio does not receive a response in the specified amount of time, it stops trying to communicate with the JVM. The default is 5 seconds.
  • Show JDWP Events in the Output Window indicates whether you want Stylus Studio to log all communication events in the Stylus Studio Output Window during a debugging session.

Stylus Studio also allows you to set options that specify the Java virtual machine (JVM) you use. You can specify the run-time library, the home directory, and parameters for starting the JVM. Select Tools > Options from the Stylus Studio menu bar.

See Specifying Stylus Studio Options for instructions for setting these options.

Free Stylus Studio XML Training:
W3C Member