HP 68000 Series User Manual page 471

Debugger/simulator
Table of Contents

Advertisement

Example
If you have the following code segment:
main()
{
auto i,j,k;
i = 1;
j = 3;
k = i + j;
}
and you execute the following command file:
Debugger Macro Add int print_info()
{
unsigned long address;
int reason;
reason = break_info(&address);
$Expression Printf "Breakpoint at %8x. Reason: %d\n",
address,reason$;
return(1);
}
.
Program Run Until main
Program Step
Breakpt Read &i;print_info()
Breakpt Write &k;print_info()
Breakpt Access &j;print_info()
Program Run
the debugger will display the breakpoint address and type value in the journal
window.
Chapter 11: Predefined Macros
break_info
449

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents