Products Downloads


French version


 

Access

To add a breakpoint, select option 1 in front of the HA#BREAK line in the Select a debug command screen.

 

Note: You can also enter the HA#BREAK command directly in the "Debug" line, followed by the Adelia line number.

The breakpoint will then be added immediately.

 

 

Function keys

Refer to the relevant IBM guide for more details.

 

Data entry

Line

Line number in the Adelia source where a breakpoint is to be placed.

If the Adelia source is not shown in the debug screen, the line number must be the one shown in the module's verification list.

 

Condition

This is the program's break condition at the specified line number.

This condition must use a specific syntax.

If this field is left blank, the breakpoint will be unconditional.

 

Direct command entry

You can also enter the HA#BREAK command directly in the debug line, followed by the Adelia line number.

The breakpoint will then be added immediately.

To specify a break condition, simply enter the condition after the line number.

 

Example:

Unconditional breakpoints:

HA#BREAK 0,14

will break the program at line 0,14.

HA#BREAK 10

will break the program at line 10,00.

HA#BREAK 11,3

will break the program at line 11,30.

 

Conditional breakpoints:

HA#BREAK 0,14 CORD_KEY = "ORD1" will break the program at line 0,14 if the Adelia variable with the CORD_KEY guide word has the value "ORD1".

HA#BREAK 10 CORD_KEY >= VAR1 will break the program at line 10 if the Adelia variable with the CORD_KEY guide word is greater than or equal to the value in the variable VAR1.

HA#BREAK 11 ORDER_HEADER_DA EXISTS will break the program at line 11 if the ORDER_HEADER_DA view exists.

 

↑ Top of page

  • Aucune étiquette