Using the Source Editor When Debugging

When the debugger stops, (for example, at a breakpoint after completing a step command, or when paused), the source file for the current class will open in the source editor and will be marked with the execution point execution_point_arrow .

If JDeveloper cannot locate the source file for the class while debugging, the Source Not Found dialog is displayed prompting you for the source file location.

You can use the source editor to debug in the following ways:

Setting Breakpoints

Context Menu Items

The debugger adds several menu items to the source editor's context menu including:

Tooltips

The debugger will show tooltips in the source editor if you hover the mouse over the name of a variable. The tooltip will show the current value of the variable. If you want a tooltip to display the value of a more complicated expression, select the expression in the source editor and hover the mouse over the selected text.


Related topics

About Debugger Windows
About Debugger Icons
Moving Through Code While Debugging
Examining Program State in Debugger Windows
Modifying Data Elements
Controlling Which Classes are Traced Into