Native Inspect Manual (H06.07+)
Using Native Inspect
Native Inspect Manual—528122-006
2-11
Set a Memory Access Breakpoint
Set a Memory Access Breakpoint
Notes
•
Use the mab command to set a memory access breakpoint on a scalar variable.
•
Before the memory access breakpoint is hit, the program calls DEBUG, after which
execution is resumed.
End the Program and Debugging Session
Sample Native Inspect Session (COBOL
Program)
This sample session illustrates these tasks:
(eInspect 3,591):mab strucure.a
No symbol "strucure" in current context.
(eInspect 3,591):next
86 printf("%s q = %d\n",string,q);
(eInspect 3,591):print a1
$3 = {
a = 0x0,
b = 0
}
(eInspect 3,591):mab a1.b
(eInspect 3,591):c
Continuing.
About to execute 'break 0x247'
Process (3,591) called DEBUG.
0x70001190:0 in print_and_break() () at \PIPPIN.$D0117.NITEST.GARTCC:72
72 DEBUG();
(eInspect 3,591):c
Continuing.
Process (3,591) received DS_EVENT_MAB (seg:65535, addr:0x6FFFFE44,
pc:0x70002862
, len:4 type:1)
A1::func(char *, int) (this=0x6ffffe40, string=0x8000220 "From call1",
c=1)
at \PIPPIN.$D0117.NITEST.GARTCC:29
29 }
(eInspect 3,591):print *this
$5 = {
a = 0x8000220 "From call1",
b = 1
}
(eInspect 3,591):kill
Tasks Native Inspect Command
Advance execution
next command, nexti command, step
command, stepi command
Set a code breakpoint
break command, tbreak command
List source
list command










