7.7.6.7. GEL_BreakPtAdd()ΒΆ
Adds a breakpoint.
Syntax
GEL_BreakPtAdd( address [,"Condition"] );
Parameters
address identifies the location of the breakpoint.
Condition(optional) specifies the condition used in the conditional breakpoint If you specify a condition, it must be enclosed in quotation marks.
Description
This function sets a software breakpoint at a specific address. If a condition is specified, the breakpoint becomes a conditional breakpoint and execution stops only if the condition evaluates to true. The address can be any GEL expression that evaluates to a program address, or a string that specifies a symbolic location.
Synchronous
Synchronous from GEL: Yes
Completely synchronous: No
Example
GEL_BreakPtAdd(0x2000);
GEL_BreakPtAdd(TargetLabel + 100);
GEL_BreakPtAdd("main");
GEL_BreakPtAdd(0x2000, "a < b");
Related Topics