Native Inspect Manual (H06.04+)

Using Native Inspect
Native Inspect Manual528122-005
2-11
Step Execution Into a Function
Step Execution Into a Function
Notes
Use the step command to step execution into a function.
Parameter values are not available until execution is stepped through function
prolog code.
Set a Memory Access Breakpoint
Notes
Use the mab command to set a memory access breakpoint on a scalar variable.
(eInspect 3,591):next
80 call1(local_ptr1,local_q);
(eInspect 3,591):step
call1(char *, int) (string=0x0, q=0) at \PIPPIN.$D0117.NITEST.GARTCC:84
84 {
(eInspect 3,591):next
85 A1 a1;
(eInspect 3,591):bt
#0 call1(char *, int) (string=0x80001f0 "From main", q=0)
at \PIPPIN.$D0117.NITEST.GARTCC:85
#1 0x70001320:0 in main () at \PIPPIN.$D0117.NITEST.GARTCC:80
#2 0x700034d0:0 in _MAIN () at \SPEEDY.$RLSE.T8432H01.CPLMAINC:68
(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
}