Download T9000 Development Tools

Transcript
46
4.2 Interactive windowing debugger
gr]
/gj i nefUest
E~ecution
[ile
f
Processes
I
I Call Stack
I
[
I
Deselect
~ar-iables
~vents
Qptions
t!.elp
.w
-g.,...
MW
""'No
M
Process app thread 1 Runn i ng
Process app thread 2 Stopped
Process app thread 3 Stopped
,!;;
I
,j;
]
Process app thread 4 Stopped
to-
I
t/user /inquest/app/feed+c
I Continue 11
Step
~I
Next
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
I1 Step Out 0
)r Step}O]!
Break
I1 Watch
Watch
1
r
Once I1
Delet;]
11
Print
rP'rTnt7J I
Locate
1
{
int n.r i ~
0
n = Chanlnlnt< infeed) ~
riJr (i = 1~ i <= n~ i++) {
ChanOut Int (out.feed, i)~
4-
}
ChanOutI nt( outfeed.r 0) ~
}
br'eak~
case 1:
go = Chanlnlnt<end) ~
break~
}
}
pt~intf(
••
II
"Feed about to die\n") ~
ta
tut·
IJ"D::­
IPr'ocess app thr'ead 4 br'eakpoint event 1 set at <feed+c 28 0>
~~~':~ite n is.~~int n)~ ~ntinue}~~'~"_~"""""""'~'W'WMWN~~V~v~,J
••......
WNNMVMV~~~~
·.VO~MwMV~_=_~w=v~~~~~_·~_~
Figure 4.2
I8l
I
printf( "Feed is alive\n") ~
whi le (go) {
swi tch (ProcAl t( infeed, end, NULl)) {
case 0:
rn
34>
Jump
..........
~_'mMVMV~w~~
Selecting a process
gr]
inquest.
[ile
E~ecution
fT~ ~
2
3
4
5
~vents
Variables
•VY....~....
Qptions
tLelp
.......
."'"
"~
.......
M"o"No"·~·."
factorial () at <facs+c 23 0>
factorial () at <facs+c 23 0>
factorial () at <facs+c 23 0>
mainO at <facs+c 43 0>
CENTRYD_stage2 ( )
=
I1
IProcess f acs thread 1 or i gin <facs+c 30 0> stopped at <facs+c 23 0>
I
I/user /inquest!app!f acs +c
[ Continue I1
Step
r yr:~.:::r r ; ;;:-~. I ~
Np-':<t.
)( Step Out I1
1r St.P-Cl Tit I ~
Figure 4.3
Break
I [Watch
lJ.::.t,l"":h
1mp-lp-t,p- I ~
Once I1
A stack trace
Print
Print.
]1
* 1r
Jump
I it':.=tt.P-
I
I