Breakpoint List Window

From RadPHP XE2 Documentation
Jump to: navigation, search

View PathPDF.jpg Debug Windows PathPDF.jpg Breakpoints

Use the "Breakpoint List" window to display, enable, or disable breakpoints currently set in the loaded project, and to change the condition, or pass count associated with a breakpoint. If no project is loaded, it shows all breakpoints set in opened files.

Column Description
Filename/Address The source file for the source breakpoint or the address for the address breakpoint. A checkbox before the file name indicates whether the breakpoint is enabled or disabled. Check the box to enable the breakpoint. Uncheck it to disable the breakpoint.
Line/Length The code line number for the breakpoint or the length (the number of bytes to watch) for the data breakpoint.
Condition The conditional expression that is evaluated each time the breakpoint is encountered. Click a condition value to edit it.
Pass Count The current pass and the total number of passes specified for the breakpoint. Click a pass count value to edit it.

Breakpoints.png

This window shows a list of all active breakpoints,breakpoints can be placed at any line of any source code. The breakpoint must be moved if the text gets modified, that is, inserting lines above, will move the breakpoint and the Breakpoints window should be updated accordingly.

When a unit containing breakpoints is closed, their breakpoints are removed, breakpoints are stored on the .dsk file that is created with the project, the following properties for each breakpoint are stored:

  • Filename
  • Enabled status
  • Line the breakpoint is on
  • Condition to break
  • Hit count

Breakpoints are restored when opening a project and breakpoints must be restored on the opened files and be shown on the Breakpoints window. Just before Run with debugging, debugger is informed to set the breakpoints on the specific places.

Double clicking on a breakpoint in the breakpoints window, will focus the code editor in the place where that breakpoint is located. A breakpoint sets a red mark at the left side of the source code, that red mark should coexist with any other mark at that line (i.e. bookmarks, or current execution point marks)

Breakpoint properties.png

Personal tools