Displaying Code in the Method Source Window
In the Method Source window, the next line of code to be executed is highlighted in blue (or the selected color of your choice). Lines of code are displayed as follows.
-
Only the first line is highlighted if an instruction is spread over more than one line.
-
Instructions within a loop are highlighted for each iteration of the loop but loop instructions are highlighted once only.
-
When you step through code, the highlighted instruction is kept visible by the lines of code scrolling as necessary.
-
If the selected line of the method has no compiled byte code, the breakpoint is set on the next source line that has byte code. If there is no source line following with byte code, the breakpoint is set at the beginning of the method.
-
Bubble help displays the current value of the variable or object over which the mouse is positioned and you are running the application in standard (fat) client mode.
The debugger displays the value of a path such as sc.startDate in the following cases.
-
If you hover the mouse over an identifier that is part of a path (for example, startDate in sc.startDate), the bubble help display is sc.startDate = date. The value is also displayed if the full path is selected.
-
You can inspect a path in the debugger. If you place the cursor over a variable and then perform an inspect action, the Variable Inspector dialog is displayed with the full path name displayed.
If a valid path is selected in the editor text, the inspector value display is presented without the Variable Inspector dialog appearing.
A path that contains a method call cannot be inspected.
You can turn the display of bubble help on or off, if required. For details, see "Setting the Animate Speed and Toggling the Bubble Help Display", later in this chapter.
-