7.7.6.33. GEL_HWBreakPtAdd()ΒΆ

Adds a hardware breakpoint.

Syntax

GEL_HWBreakPtAdd(address [,count]);

Parameters

address is the location of the breakpoint. If the address is a string Parameters, a symbolic breakpoint will be set at that location and re-evaluated whenever symbols change. Otherwise, a breakpoint will be set at the specified address.

count(optional) is the number of times to execute before breakpoint is triggered. The default value is 1.

Description

This function adds a new, enabled type 1 hardware breakpoint at the specified address, if the target supports it.

Synchronous

Synchronous from GEL: Yes

Completely synchronous: No

Example

GEL_HWBreakPtAdd( 0x2000 );
GEL_HWBreakPtAdd( PC + 100 );
GEL_HWBreakPtAdd( "main" );
GEL_HWBreakPtAdd( 0x2000, 5 );

Related Topics

GEL_HWBreakPtDel

GEL_HWBreakPtReset

GEL_HWBreakPtDisable