Products Downloads


French version


 

Access

To access the breakpoints defined in a debugging session, select the Breakpoints tab in the Visual/Web debugger window's execution pane.

 

symbolizes the breakpoint management tab.

This tab displays a complete list of the breakpoints defined in the current debugging session. (This list is independent of the current program in the workspace).

These breakpoints are identified by the following symbols, according to their activity status:

 

Breakpoint placed and enabled.
Execution of the program is stopped when this type of breakpoint is encountered.

Conditional breakpoint placed and enabled.

Program execution stops when this type of breakpoint is encountered, if the condition is met.

Breakpoint placed but disabled.
Execution of the program is not stopped when this type of breakpoint is encountered.

Conditional breakpoint placed but disabled.

Program execution does not stop when this type of breakpoint is encountered.

Invalid breakpoint. The breakpoint could not be validated on any platform (debugger not initialized, debugging data not found, etc.).
Execution of the program is not stopped when this type of breakpoint is encountered.

Breakpoint placed in a source shared by more than one platform (e.g. shared procedure or SADELIA program).
This breakpoint is enabled on certain platforms but invalid on others.

Conditional breakpoint placed in a source shared by more than one platform (e.g. shared procedure or SADELIA program).

This breakpoint is enabled on certain platforms but invalid on others.

 

You can define conditional breakpoints. In this case, program execution only stops if the condition is met when the breakpoint is triggered.

A condition can be either simple comparison expression between two operands (a = b), or an existence test for a view (view exists).

The first operand must be a simple variable, reserved word or object property. The first operand must be a simple variable, reserved word, object property or constant, whose type is compatible with the first operand. The operands must be of a simple type; in the case of arrays, you can only compare items.

The constraints must obey the following syntax:

 

Character string

Character string in apostrophes, any apostrophes inside the string are doubled:

'String constant''s value'

Numeric constants

Numeric constant, possibly preceded by the minus ('-') sign, the decimal separator is a dot:

-10.1234

1234

Boolean

Boolean value (*true or *false)

Date

Date expressed as a string constant in ISO format (yyyy-mm-dd):

'2012-12-21'

Time

Time expressed as a string constant in ISO format (hh:mi:ss):

'00.00.00'

Timestamp

Date expressed as a string constant in ISO format (yyyy-mm-dd -hh.mi.ss.nnnnnn):

'2012-12-21-00.00.00.000000'

Note: As Adelia truncates Timestamps to the nearest millisecond, the microseconds are not required.

 

 


INDEX >= 7

ID_WIN0.ID_OBJ1:ACTIVITY = *TRUE

MYPANE DOES_NOT_EXIST

TABLE(10) <> 'Value 10'

 

 

Important: In certain cases (particularly in Java), condition assessment may have a significant impact on execution times when the program is running in debug mode. You should be sparing when placing conditional breakpoints inside the code of a large loop (several thousand or tens of thousand iterations).

 

Context-sensitive menu

This menu lets you access the breakpoint management functions that have been selected in the list.

 

Edit the source

This option lets you access the line of source code where the selected breakpoint is set. The source tab of the program is displayed in the workspace foreground and the cursor is positioned at the line with the breakpoint.

Keyboard shortcut: Ctrl + S.

This option is also available by double-clicking a breakpoint in the list.

 

Enable

This option lets you enable the selected breakpoints.

Keyboard shortcut: Ctrl + A.

 

Disable

This option lets you disable the selected breakpoints.

Keyboard shortcut: Ctrl + D.

 

Enable all

This option lets you enable all the breakpoints.

Keyboard shortcut: Ctrl + Shift + A.

 

Disable all

This option lets you disable all the breakpoints.

Keyboard shortcut: Ctrl + Shift + D.

 

Condition

This option sets the condition for the breakpoint. Program execution will only stop at the breakpoint if the condition is met.

Keyboard shortcut: Ctrl + Alt + C.

 

Delete condition

This option deletes the condition for the selected conditional breakpoints.

Keyboard shortcut: Ctrl + Alt + D.

 

Remove

This option lets you remove the selected breakpoints.

Keyboard shortcut: Del.

 

Remove all

This option lets you remove all the breakpoints.

Keyboard shortcut: Shift + Del.

 

↑ Top of page

  • Aucune étiquette