Debugging Java

Before you start

To complete this task, you must have completed the following tasks:

When message flow processing has paused at a breakpoint in source code within a node that contains Java code (a user-defined node or a JavaCompute node), you can browse Java variables in the Variables view in the Debug Perspective, and change their associated data values.

To work with Java variables:

  1. Switch to the Debug perspective perspective.
  2. Open the Variables view. Variables are shown in a tree, using the symbol Variable.
  3. To work with a variable, right-click it and select an option from the menu.
Start of changeWhen you finished working with the Java code and variables, message flow processing continues until the next breakpoint that is set in the logical processing of the current message. If there is no further breakpoint at which the flow instance can pause, the flow instance runs to completion and is removed from the Debug view.

If you have now completed debugging this message flow, you can remove the breakpoints, or end the debug session:

End of change
Related concepts
Flow debugger overview
Debug perspective
Related tasks
Working with breakpoints in the debugger
Debug: stepping into source code
Debug: stepping over source code
Debug: stepping out of source code
Related reference
Flow debugger shortcuts
Flow debugger icons and symbols