Native Inspect Manual (H06.03+)

Table Of Contents
Using Native Inspect
Native Inspect Manual528122-003
2-11
List Source
List Source
Continue Listing Source
Set a Breakpoint on Line 52
Continue Execution
Display a Structure
(eInspect 0,301): list
42 int local_q = 0;
43 call1(local_ptr,local_q);
44 }
45
46 void call1(char *string,long long q)
47 {
48 eight_byte_struct structure;
49 structure.a = "from call1";
50 structure.b = 1;
51 printf("%s q = %d\n",string,q);
(eInspect 0,301):
(eInspect 0,301): list
52 print_and_break();
53 call2(structure);54
55 }
56 void call2(eight_byte_struct structure)
57 {
58
59 sixteen_byte_struct structure2;
60 printf("%s q = %d\n",structure.a,structure.b);
61 structure2.c = "From call2";
(eInspect 0,301): b 52
Breakpoint 2 at 0x700012b0:2: file C:\mywin\home\myfiles\test\nitest.c,
line 52.
(eInspect 0,301): c
Continuing.
Breakpoint 2, call1 (string=0x8000200 "From main", q=0)
at C:\mywin\home\myfiles\test\nitest.c:52
52 print_and_break();
(eInspect 0,301): print structure
$2 = {a = 0x8000210 "from call1", b = 1}