Native Inspect Manual (H06.07+)

Syntax of Native Inspect Commands
Native Inspect Manual528122-006
4-45
kill command
Example
To jump to a specified location (line 51):
kill command
Terminates the current process or snapshot file.
For processes:
If Native Inspect is debugging only one process (and if you did not explicitly start
Native Inspect from the TACL command prompt), Native Inspect terminates.
If Native Inspect is debugging multiple processes, the current process is
terminated but Native Inspect remains running with no current process selected
(use the vector command or the attach command to establish the current process).
If the current process is unstoppable, the kill request is queued.
For snapshot files:
If you enter a kill command when examining a snapshot file, the current file is closed,
but Native Inspect remains running.
(eInspect 3,638): list
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);
52 print_and_break();
53 call2(structure);
(eInspect 3,638): fr 0
#0 call1 (string=0x0, q=0) at C:\cygwin\home\save\test\gartest.c:49
49 structure.a = "from call1";
(eInspect 3,638): b 52
Breakpoint 3 at 0x700012c0:2: file C:\cygwin\home\save\test\gartest.c,
line 52.
(eInspect 6,157): c
Continuing.
From main q = 0
Breakpoint 3, call1 (string=0x70000bd0 "From main", q=0)
at C:\cygwin\home\save\test\gartest.c:52
52 print_and_break();
(eInspect 3,638): jump 51
Continuing at 0x700011d0:1.
From main q = 0
Breakpoint 3, call1 (string=0x70000bd0 "From main", q=0)
at C:\cygwin\home\save\test\gartest.c:52
52 print_and_break();
kill