Setting and Processing Breakpoints

A breakpoint is a user-defined location in code. When a process reaches a breakpoint, the process is suspended and the Debugger is activated. Within the Debugger, you can look at what is happening in memory at this address as this piece of code extremes.

If the Debugger is operating in simple mode, all user processes are suspended whenever a breakpoint is encountered. If the Debugger is in multiple process mode, only the process that has encountered a breakpoint is suspended.

Setting and Querying Breakpoints: CODE-B

To set a breakpoint, you type CODE-B, preceded by one parameter. For example, to set a breakpoint at the address addr, type addr CODE-B. A breakpoint stays in effect until is explicitly removed.

To display the list of all breakpoints set at any given time, including CODE-I breakpoints, you type CODE-B without an address parameter.

This activity is known as querying the breakpoints.

Setting Conditional Breakpoints: CODE-A

A conditional breakpoint is a breakpoint that is associated with a relational condition. When a process reaches a conditional breakpoint, the process is suspended only if the relational condition is evaluated as TRUE.

To set a conditional breakpoint, you type a paramenter and CODE-A. For example:

To set a breakpoint at physical address 0E0:3B1, you type 0E0:3B1 CODE-A.

Experience| Education and Training| Memberships| Awards| Computer Tools| Writing Samples|

1