To Delete A Single Breakpoint - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Debugger Macro Add int patch_temp()
{
/* set the current_temp to be 71 degrees instead of what the code says */
current_temp = 71;
/* Restart execution at line # 39 -- Skips over the code too!!
$Memory Register @PC = #39$;
/* Return value indicates continuation logic: 1=continue, 0=break */
return(0);
}
.
4 Exit the editor.
5 Click on the Attach button in the dialog box.
The plus sign ("+ ") in front of line 38 indicates that a macro has been attached
to a breakpoint at that line.
6 Click on the Run Xfer action key to run the program.
Notice that current_temp, as shown in the Monitor window, is 71, not 68. Click
Disp Src PC to show the source in the code window.

To delete a single breakpoint

Once you set a breakpoint, program execution will break each time the
breakpoint is encountered. If you don't want to break on a certain breakpoint
again, you must delete the breakpoint. Suppose you want to delete the
breakpoint that was previously set at line 42 in init_system.
1 Position the mouse over line 42.
2 Click the right mouse button to delete the breakpoint.
The breakpoint window shows the breakpoint has been deleted. The asterisk
in front of line 42 disappears.
Chapter 1: Getting Started with the Graphical Interface
To delete a single breakpoint
*/
23

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents