author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 22 Sep 2014 22:50:28 +0100 | |
changeset 24 | c33a063cb363 |
parent 23 | ed5f4b55cee5 |
child 26 | 45980fbc001b |
permissions | -rw-r--r-- |
0 | 1 |
"{ Package: 'jv:vdb' }" |
2 |
||
3 |
VDBAbstractApplication subclass:#VDBDebuggerApplication |
|
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
4 |
instanceVariableNames:'layoutSpecHolder selectedInferiorHolder selectedThreadHolder |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
5 |
selectedFrameHolder containerBottom' |
0 | 6 |
classVariableNames:'' |
7 |
poolDictionaries:'' |
|
8 |
category:'VGB-UI' |
|
9 |
! |
|
10 |
||
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
11 |
|
0 | 12 |
!VDBDebuggerApplication class methodsFor:'interface specs'! |
13 |
||
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
14 |
layoutEclipseSpec |
0 | 15 |
"This resource specification was automatically generated |
16 |
by the UIPainter of ST/X." |
|
17 |
||
18 |
"Do not manually edit this!! If it is corrupted, |
|
19 |
the UIPainter may not be able to read the specification." |
|
20 |
||
21 |
" |
|
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
22 |
UIPainter new openOnClass:VDBDebuggerApplication andSelector:#layoutEclipseSpec |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
23 |
VDBDebuggerApplication new openInterface:#layoutEclipseSpec |
0 | 24 |
" |
25 |
||
26 |
<resource: #canvas> |
|
27 |
||
28 |
^ |
|
29 |
#(FullSpec |
|
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
30 |
name: layoutEclipseSpec |
0 | 31 |
window: |
32 |
(WindowSpec |
|
33 |
label: 'Visual Debugger' |
|
34 |
name: 'Visual Debugger' |
|
35 |
min: (Point 10 10) |
|
36 |
bounds: (Rectangle 0 0 718 390) |
|
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
37 |
menu: mainMenu |
0 | 38 |
) |
39 |
component: |
|
40 |
(SpecCollection |
|
41 |
collection: ( |
|
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
42 |
(VariableVerticalPanelSpec |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
43 |
name: 'VariableVerticalPanel' |
0 | 44 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
17
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
45 |
showHandle: true |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
46 |
snapMode: both |
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
47 |
component: |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
48 |
(SpecCollection |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
49 |
collection: ( |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
50 |
(SubCanvasSpec |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
51 |
name: 'StackCanvas' |
17
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
52 |
level: 0 |
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
53 |
hasHorizontalScrollBar: false |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
54 |
hasVerticalScrollBar: false |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
55 |
majorKey: VDBStackApplication |
17
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
56 |
subAspectHolders: |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
57 |
(Array |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
58 |
|
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
59 |
(SubChannelInfoSpec |
23
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
60 |
subAspect: selectedFrameHolder |
17
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
61 |
aspect: selectedFrameHolder |
23
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
62 |
) |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
63 |
(SubChannelInfoSpec |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
64 |
subAspect: selectedThreadGroupHolder |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
65 |
aspect: selectedThreadGroupHolder |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
66 |
) |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
67 |
|
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
68 |
(SubChannelInfoSpec |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
69 |
subAspect: selectedThreadHolder |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
70 |
aspect: selectedThreadHolder |
17
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
71 |
) |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
72 |
) |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
73 |
createNewApplication: true |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
74 |
createNewBuilder: true |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
75 |
) |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
76 |
(SubCanvasSpec |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
77 |
name: 'SourceCanvas' |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
78 |
hasHorizontalScrollBar: false |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
79 |
hasVerticalScrollBar: false |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
80 |
majorKey: VDBSourceApplication |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
81 |
subAspectHolders: |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
82 |
(Array |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
83 |
|
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
84 |
(SubChannelInfoSpec |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
85 |
subAspect: frameHolder |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
86 |
aspect: selectedFrameHolder |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
87 |
) |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
88 |
) |
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
89 |
createNewApplication: true |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
90 |
createNewBuilder: true |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
91 |
) |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
92 |
(SubCanvasSpec |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
93 |
name: 'ContainerBottom' |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
94 |
level: 0 |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
95 |
hasHorizontalScrollBar: false |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
96 |
hasVerticalScrollBar: false |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
97 |
clientHolder: containerBottom |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
98 |
subAspectHolders: |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
99 |
(Array |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
100 |
|
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
101 |
(SubChannelInfoSpec |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
102 |
subAspect: debuggerHolder |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
103 |
aspect: debuggerHolder |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
104 |
) |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
105 |
) |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
106 |
createNewApplication: true |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
107 |
createNewBuilder: true |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
108 |
) |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
109 |
) |
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
110 |
|
0 | 111 |
) |
23
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
112 |
handles: (Any 0.33333333333333343 0.66666666666666685 1.0) |
0 | 113 |
) |
114 |
) |
|
115 |
||
116 |
) |
|
117 |
) |
|
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
118 |
! |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
119 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
120 |
layoutSingleSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
121 |
"This resource specification was automatically generated |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
122 |
by the UIPainter of ST/X." |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
123 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
124 |
"Do not manually edit this!! If it is corrupted, |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
125 |
the UIPainter may not be able to read the specification." |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
126 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
127 |
" |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
128 |
UIPainter new openOnClass:VDBDebuggerApplication andSelector:#windowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
129 |
VDBDebuggerApplication new openInterface:#windowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
130 |
VDBDebuggerApplication open |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
131 |
" |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
132 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
133 |
<resource: #canvas> |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
134 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
135 |
^ |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
136 |
#(FullSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
137 |
name: windowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
138 |
window: |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
139 |
(WindowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
140 |
label: 'Visual Debugger' |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
141 |
name: 'Visual Debugger' |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
142 |
min: (Point 10 10) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
143 |
bounds: (Rectangle 0 0 718 390) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
144 |
menu: mainMenu |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
145 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
146 |
component: |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
147 |
(SpecCollection |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
148 |
collection: ( |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
149 |
(SubCanvasSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
150 |
name: 'ContainerBottom' |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
151 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
152 |
level: 0 |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
153 |
hasHorizontalScrollBar: false |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
154 |
hasVerticalScrollBar: false |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
155 |
clientHolder: containerBottom |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
156 |
subAspectHolders: |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
157 |
(Array |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
158 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
159 |
(SubChannelInfoSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
160 |
subAspect: debuggerHolder |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
161 |
aspect: debuggerHolder |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
162 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
163 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
164 |
createNewApplication: true |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
165 |
createNewBuilder: true |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
166 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
167 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
168 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
169 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
170 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
171 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
172 |
"Created: / 17-09-2014 / 22:34:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
173 |
! |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
174 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
175 |
windowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
176 |
"This resource specification was automatically generated |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
177 |
by the UIPainter of ST/X." |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
178 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
179 |
"Do not manually edit this!! If it is corrupted, |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
180 |
the UIPainter may not be able to read the specification." |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
181 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
182 |
" |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
183 |
UIPainter new openOnClass:VDBDebuggerApplication andSelector:#windowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
184 |
VDBDebuggerApplication new openInterface:#windowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
185 |
VDBDebuggerApplication open |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
186 |
" |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
187 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
188 |
<resource: #canvas> |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
189 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
190 |
^ |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
191 |
#(FullSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
192 |
name: windowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
193 |
window: |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
194 |
(WindowSpec |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
195 |
label: 'Visual Debugger' |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
196 |
name: 'Visual Debugger' |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
197 |
min: (Point 10 10) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
198 |
bounds: (Rectangle 0 0 800 600) |
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
199 |
menu: mainMenu |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
200 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
201 |
component: |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
202 |
(SpecCollection |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
203 |
collection: ( |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
204 |
(MenuPanelSpec |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
205 |
name: 'ToolBar' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
206 |
layout: (LayoutFrame 0 0 0 0 0 1 25 0) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
207 |
menu: toolbarMenu |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
208 |
textDefault: true |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
209 |
) |
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
210 |
(SubCanvasSpec |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
211 |
name: 'Layout' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
212 |
layout: (LayoutFrame 0 0 25 0 0 1 0 1) |
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
213 |
hasHorizontalScrollBar: true |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
214 |
hasVerticalScrollBar: true |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
215 |
specHolder: layoutSpecHolder |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
216 |
createNewBuilder: false |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
217 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
218 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
219 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
220 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
221 |
) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
222 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
223 |
"Modified: / 21-09-2014 / 21:48:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
0 | 224 |
! ! |
225 |
||
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
226 |
!VDBDebuggerApplication class methodsFor:'menu specs'! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
227 |
|
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
228 |
execMenu |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
229 |
"This resource specification was automatically generated |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
230 |
by the MenuEditor of ST/X." |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
231 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
232 |
"Do not manually edit this!! If it is corrupted, |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
233 |
the MenuEditor may not be able to read the specification." |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
234 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
235 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
236 |
" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
237 |
MenuEditor new openOnClass:VDBDebuggerApplication andSelector:#execMenu |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
238 |
(Menu new fromLiteralArrayEncoding:(VDBDebuggerApplication execMenu)) startUp |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
239 |
" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
240 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
241 |
<resource: #menu> |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
242 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
243 |
^ |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
244 |
#(Menu |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
245 |
( |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
246 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
247 |
label: 'Run' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
248 |
itemValue: doExecRun |
24 | 249 |
labelImage: (ResourceRetriever VDBIconLibrary actionRun16x16 'Run') |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
250 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
251 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
252 |
label: 'Resume' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
253 |
itemValue: doExecResume |
24 | 254 |
labelImage: (ResourceRetriever VDBIconLibrary actionContinue16x16 'Resume') |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
255 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
256 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
257 |
label: 'Suspend' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
258 |
itemValue: doExecSuspend |
24 | 259 |
labelImage: (ResourceRetriever VDBIconLibrary actionStop16x16 'Suspend') |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
260 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
261 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
262 |
label: 'Terminate' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
263 |
itemValue: doExecTerminate |
24 | 264 |
labelImage: (ResourceRetriever VDBIconLibrary actionTerminate6x16 'Terminate') |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
265 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
266 |
(MenuItem |
23
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
267 |
label: 'Restart' |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
268 |
itemValue: doExecRestart |
24 | 269 |
labelImage: (ResourceRetriever VDBIconLibrary actionTerminateAndRun6x16 'Restart') |
23
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
270 |
) |
ed5f4b55cee5
Added toolbar and icons. Show all thread groups and threads in stack view.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
271 |
(MenuItem |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
272 |
label: '-' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
273 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
274 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
275 |
label: 'Step Over' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
276 |
itemValue: doExecStepOver |
24 | 277 |
labelImage: (ResourceRetriever VDBIconLibrary actionStepOver6x16 'Step Over') |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
278 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
279 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
280 |
label: 'Step Into' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
281 |
itemValue: doExecStepInto |
24 | 282 |
labelImage: (ResourceRetriever VDBIconLibrary actionStepInto6x16 'Step Into') |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
283 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
284 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
285 |
label: 'Step Return' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
286 |
itemValue: doExecStepReturn |
24 | 287 |
labelImage: (ResourceRetriever VDBIconLibrary actionStepReturn6x16 'Step Return') |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
288 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
289 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
290 |
nil |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
291 |
nil |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
292 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
293 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
294 |
|
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
295 |
mainMenu |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
296 |
"This resource specification was automatically generated |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
297 |
by the MenuEditor of ST/X." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
298 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
299 |
"Do not manually edit this!! If it is corrupted, |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
300 |
the MenuEditor may not be able to read the specification." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
301 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
302 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
303 |
" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
304 |
MenuEditor new openOnClass:VDBDebuggerApplication andSelector:#mainMenu |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
305 |
(Menu new fromLiteralArrayEncoding:(VDBDebuggerApplication mainMenu)) startUp |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
306 |
" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
307 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
308 |
<resource: #menu> |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
309 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
310 |
^ |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
311 |
#(Menu |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
312 |
( |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
313 |
(MenuItem |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
314 |
label: 'File' |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
315 |
submenu: |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
316 |
(Menu |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
317 |
( |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
318 |
(MenuItem |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
319 |
label: 'Open Executable' |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
320 |
itemValue: doOpenExecutable |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
321 |
) |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
322 |
(MenuItem |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
323 |
label: '-' |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
324 |
) |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
325 |
(MenuItem |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
326 |
label: 'Quit' |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
327 |
itemValue: doQuit |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
328 |
) |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
329 |
) |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
330 |
nil |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
331 |
nil |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
332 |
) |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
333 |
) |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
334 |
(MenuItem |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
335 |
label: 'Run' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
336 |
submenuChannel: execMenu |
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
337 |
) |
12
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
338 |
(MenuItem |
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
339 |
label: 'Window' |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
340 |
submenu: |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
341 |
(Menu |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
342 |
( |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
343 |
(MenuItem |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
344 |
label: 'Stack' |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
345 |
itemValue: doWindowOpen: |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
346 |
argument: VDBStackApplication |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
347 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
348 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
349 |
nil |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
350 |
nil |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
351 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
352 |
) |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
353 |
(MenuItem |
12
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
354 |
label: 'Debug' |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
355 |
startGroup: right |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
356 |
submenu: |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
357 |
(Menu |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
358 |
( |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
359 |
(MenuItem |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
360 |
label: 'Inspect Debugger' |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
361 |
itemValue: doInspectDebugger |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
362 |
) |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
363 |
(MenuItem |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
364 |
label: 'Inspect Session Record' |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
365 |
itemValue: doInspectSessionRecord |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
366 |
) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
367 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
368 |
label: '-' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
369 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
370 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
371 |
label: 'Reopen Window' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
372 |
itemValue: doDebugReopenWindow |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
373 |
) |
12
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
374 |
) |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
375 |
nil |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
376 |
nil |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
377 |
) |
b17ffe0604f0
Added debug menu to VDBDebuggerApplication
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10
diff
changeset
|
378 |
) |
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
379 |
) |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
380 |
nil |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
381 |
nil |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
382 |
) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
383 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
384 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
385 |
toolbarMenu |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
386 |
"This resource specification was automatically generated |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
387 |
by the MenuEditor of ST/X." |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
388 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
389 |
"Do not manually edit this!! If it is corrupted, |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
390 |
the MenuEditor may not be able to read the specification." |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
391 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
392 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
393 |
" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
394 |
MenuEditor new openOnClass:VDBDebuggerApplication andSelector:#toolbarMenu |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
395 |
(Menu new fromLiteralArrayEncoding:(VDBDebuggerApplication toolbarMenu)) startUp |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
396 |
" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
397 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
398 |
<resource: #menu> |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
399 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
400 |
^ |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
401 |
#(Menu |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
402 |
( |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
403 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
404 |
label: 'Exec Slice' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
405 |
submenuChannel: toolbarMenuExecSlice |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
406 |
isMenuSlice: true |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
407 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
408 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
409 |
nil |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
410 |
nil |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
411 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
412 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
413 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
414 |
toolbarMenuExecSlice |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
415 |
"This resource specification was automatically generated |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
416 |
by the MenuEditor of ST/X." |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
417 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
418 |
"Do not manually edit this!! If it is corrupted, |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
419 |
the MenuEditor may not be able to read the specification." |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
420 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
421 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
422 |
" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
423 |
MenuEditor new openOnClass:VDBDebuggerApplication andSelector:#toolbarMenuExecSlice |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
424 |
(Menu new fromLiteralArrayEncoding:(VDBDebuggerApplication toolbarMenuExecSlice)) startUp |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
425 |
" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
426 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
427 |
<resource: #menu> |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
428 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
429 |
^ |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
430 |
#(Menu |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
431 |
( |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
432 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
433 |
enabled: canExecRunHolder |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
434 |
label: 'Run' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
435 |
itemValue: doExecRun |
24 | 436 |
labelImage: (ResourceRetriever VDBIconLibrary actionRun16x16) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
437 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
438 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
439 |
enabled: canExecResumeHolder |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
440 |
label: 'Resume' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
441 |
itemValue: doExecResume |
24 | 442 |
labelImage: (ResourceRetriever VDBIconLibrary actionContinue16x16) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
443 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
444 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
445 |
enabled: canExecSuspendHolder |
24 | 446 |
label: 'Suspend' |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
447 |
itemValue: doExecSuspend |
24 | 448 |
labelImage: (ResourceRetriever VDBIconLibrary actionStop16x16) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
449 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
450 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
451 |
enabled: canExecTerminateHolder |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
452 |
label: 'Terminate' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
453 |
itemValue: doExecTerminate |
24 | 454 |
labelImage: (ResourceRetriever VDBIconLibrary actionTerminate6x16) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
455 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
456 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
457 |
label: '-' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
458 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
459 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
460 |
enabled: canExecStepOverHolder |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
461 |
label: 'Step Over' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
462 |
itemValue: doExecStepOverRun |
24 | 463 |
labelImage: (ResourceRetriever VDBIconLibrary actionStepOver6x16) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
464 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
465 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
466 |
enabled: canExecStepIntoHolder |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
467 |
label: 'Step Into' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
468 |
itemValue: doExecStepInto |
24 | 469 |
labelImage: (ResourceRetriever VDBIconLibrary actionStepInto6x16) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
470 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
471 |
(MenuItem |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
472 |
enabled: canExecStepReturnHolder |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
473 |
label: 'Step Return' |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
474 |
itemValue: doExecStepReturn |
24 | 475 |
labelImage: (ResourceRetriever VDBIconLibrary actionStepReturn6x16) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
476 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
477 |
) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
478 |
nil |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
479 |
nil |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
480 |
) |
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
481 |
! ! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
482 |
|
0 | 483 |
!VDBDebuggerApplication class methodsFor:'plugIn spec'! |
484 |
||
485 |
aspectSelectors |
|
486 |
"This resource specification was automatically generated |
|
487 |
by the UIPainter of ST/X." |
|
488 |
||
489 |
"Do not manually edit this. If it is corrupted, |
|
490 |
the UIPainter may not be able to read the specification." |
|
491 |
||
492 |
"Return a description of exported aspects; |
|
493 |
these can be connected to aspects of an embedding application |
|
494 |
(if this app is embedded in a subCanvas)." |
|
495 |
||
496 |
^ #( |
|
497 |
#debuggerHolder |
|
498 |
). |
|
499 |
||
500 |
! ! |
|
501 |
||
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
502 |
!VDBDebuggerApplication methodsFor:'aspects'! |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
503 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
504 |
layoutSpecHolder |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
505 |
"return/create the 'layoutSpecHolder' value holder (automatically generated)" |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
506 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
507 |
layoutSpecHolder isNil ifTrue:[ |
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
508 |
layoutSpecHolder := ValueHolder with: #layoutEclipseSpec. |
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
509 |
]. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
510 |
^ layoutSpecHolder |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
511 |
|
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
512 |
"Modified: / 18-09-2014 / 23:35:15 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
17
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
513 |
! |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
514 |
|
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
515 |
selectedFrameHolder |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
516 |
"return/create the 'selectedFrameHolder' value holder (automatically generated)" |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
517 |
|
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
518 |
selectedFrameHolder isNil ifTrue:[ |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
519 |
selectedFrameHolder := ValueHolder new. |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
520 |
selectedFrameHolder addDependent:self. |
17
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
521 |
]. |
c5ee4ea44165
Some more work on source displaying
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16
diff
changeset
|
522 |
^ selectedFrameHolder |
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
523 |
! ! |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
524 |
|
5
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
525 |
!VDBDebuggerApplication methodsFor:'aspects-containers'! |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
526 |
|
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
527 |
containerBottom |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
528 |
containerBottom isNil ifTrue:[ |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
529 |
containerBottom := VDBTabbingContainer new. |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
530 |
containerBottom addApplication: VDBDebuggerConsoleApplication new. |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
531 |
containerBottom addApplication: VDBInferiorConsoleApplication new. |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
532 |
containerBottom addApplication: VDBEventLogApplication new. |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
533 |
]. |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
534 |
^ containerBottom |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
535 |
|
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
536 |
"Created: / 10-06-2014 / 17:29:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
537 |
! ! |
fac6e83fd5c0
Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
538 |
|
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
539 |
!VDBDebuggerApplication methodsFor:'event handling'! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
540 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
541 |
onRunningEvent: aGDBStoppedEvent |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
542 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
543 |
"Created: / 21-09-2014 / 22:44:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
544 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
545 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
546 |
onStoppedEvent: aGDBStoppedEvent |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
547 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
548 |
"Created: / 21-09-2014 / 22:44:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
549 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
550 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
551 |
onThreadGroupExitedEvent: aGDBStoppedEvent |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
552 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
553 |
"Created: / 21-09-2014 / 22:45:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
554 |
! ! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
555 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
556 |
!VDBDebuggerApplication methodsFor:'initialization & release'! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
557 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
558 |
subscribe |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
559 |
"Register for debugger events. To be overrided by subclasses" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
560 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
561 |
debugger announcer |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
562 |
when: GDBStoppedEvent send: #onStoppedEvent: to: self; |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
563 |
when: GDBRunningEvent send: #onRunningEvent: to: self; |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
564 |
when: GDBThreadGroupExitedEvent send: #onThreadGroupExitedEvent: to: self. |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
565 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
566 |
"Created: / 21-09-2014 / 22:43:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
567 |
! ! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
568 |
|
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
569 |
!VDBDebuggerApplication methodsFor:'menu actions'! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
570 |
|
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
571 |
doDebugReopenWindow |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
572 |
self closeDownViews. |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
573 |
(Smalltalk at: self class name) openFor: debugger. |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
574 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
575 |
"Modified: / 21-09-2014 / 22:26:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
576 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
577 |
|
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
578 |
doOpenExecutable |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
579 |
| file | |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
580 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
581 |
file := Dialog requestFileName:'Selected executable to debug' pattern:'*'. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
582 |
file isNil ifTrue:[ ^ self ]. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
583 |
file := file asFilename. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
584 |
debugger send: (GDBMI_file_exec_and_symbols arguments: { file asString }) wait: false. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
585 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
586 |
"Modified: / 12-06-2014 / 01:12:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
587 |
! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
588 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
589 |
doQuit |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
590 |
"automatically generated by UIEditor ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
591 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
592 |
"*** the code below performs no action" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
593 |
"*** (except for some feedback on the Transcript)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
594 |
"*** Please change as required and accept in the browser." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
595 |
"*** (and replace this comment by something more useful ;-)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
596 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
597 |
"action to be added ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
598 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
599 |
Transcript showCR:self class name, ': action for #doQuit ...'. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
600 |
! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
601 |
|
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
602 |
doWindowOpen: applicationClassName |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
603 |
| applicationClass application screen | |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
604 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
605 |
applicationClass := Smalltalk at: applicationClassName asSymbol. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
606 |
applicationClass isNil ifTrue:[ |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
607 |
Dialog warn: ('No application class named %1' bindWith: applicationClassName). |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
608 |
^ self. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
609 |
]. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
610 |
application := applicationClass new. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
611 |
application debuggerHolder: self debuggerHolder. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
612 |
application open. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
613 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
614 |
"/ On X11, use ICCCM hints to tell the WM about a transient tool window |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
615 |
"/ and let WM to handle this according to DE standards. It has the nice |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
616 |
"/ side effect (on most modern WM) that these windows don't show up in |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
617 |
"/ pager / task list and go away when browser's main window is minimuzed |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
618 |
screen := Screen current. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
619 |
(screen notNil and:[ screen platformName == #X11 ]) ifTrue:[ |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
620 |
screen setTransient: application window topView id for: self window topView id. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
621 |
"/ Also, use EWMH hint to tell the WM that the window is |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
622 |
"/ a sort of floating tool so WM can decorate it according to |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
623 |
"/ DE standards. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
624 |
screen setWindowType:#'_NET_WM_WINDOW_TYPE_UTILITY' in:application window topView id |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
625 |
]. |
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
626 |
|
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
627 |
"Modified: / 17-09-2014 / 23:36:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
628 |
! ! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
629 |
|
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
630 |
!VDBDebuggerApplication methodsFor:'menu actions-exec'! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
631 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
632 |
doExec: command |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
633 |
debugger send: command |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
634 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
635 |
"Created: / 21-09-2014 / 21:50:19 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
636 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
637 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
638 |
doExecResume |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
639 |
self doExec: GDBMI_exec_continue new. |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
640 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
641 |
"Modified: / 21-09-2014 / 21:50:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
642 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
643 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
644 |
doExecRun |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
645 |
self doExec: GDBMI_exec_run new. |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
646 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
647 |
"Modified: / 21-09-2014 / 21:51:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
648 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
649 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
650 |
doExecStepInto |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
651 |
self doExec: GDBMI_exec_step new. |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
652 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
653 |
"Modified: / 21-09-2014 / 21:52:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
654 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
655 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
656 |
doExecStepOver |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
657 |
self doExec: GDBMI_exec_next new. |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
658 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
659 |
"Modified: / 21-09-2014 / 21:52:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
660 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
661 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
662 |
doExecStepReturn |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
663 |
self doExec: GDBMI_exec_finish new. |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
664 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
665 |
"Modified: / 21-09-2014 / 21:53:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
666 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
667 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
668 |
doExecSuspend |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
669 |
self doExec: GDBMI_exec_interrupt new |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
670 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
671 |
"Modified: / 21-09-2014 / 21:51:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
672 |
! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
673 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
674 |
doExecTerminate |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
675 |
self notYetImplemented |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
676 |
|
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
677 |
"Modified: / 21-09-2014 / 21:52:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
678 |
! ! |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17
diff
changeset
|
679 |
|
10
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
680 |
!VDBDebuggerApplication methodsFor:'menu queries'! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
681 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
682 |
canRunOrContinueHolder |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
683 |
"automatically generated by UIEditor ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
684 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
685 |
"*** the code below performs no action" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
686 |
"*** (except for some feedback on the Transcript)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
687 |
"*** Please change as required and accept in the browser." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
688 |
"*** (and replace this comment by something more useful ;-)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
689 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
690 |
"action to be added ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
691 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
692 |
Transcript showCR:self class name, ': action for #canRunOrContinueHolder ...'. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
693 |
! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
694 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
695 |
canStepIntoHolder |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
696 |
"automatically generated by UIEditor ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
697 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
698 |
"*** the code below performs no action" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
699 |
"*** (except for some feedback on the Transcript)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
700 |
"*** Please change as required and accept in the browser." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
701 |
"*** (and replace this comment by something more useful ;-)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
702 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
703 |
"action to be added ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
704 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
705 |
Transcript showCR:self class name, ': action for #canStepIntoHolder ...'. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
706 |
! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
707 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
708 |
canStepOutHolder |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
709 |
"automatically generated by UIEditor ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
710 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
711 |
"*** the code below performs no action" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
712 |
"*** (except for some feedback on the Transcript)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
713 |
"*** Please change as required and accept in the browser." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
714 |
"*** (and replace this comment by something more useful ;-)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
715 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
716 |
"action to be added ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
717 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
718 |
Transcript showCR:self class name, ': action for #canStepOutHolder ...'. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
719 |
! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
720 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
721 |
canStepOverHolder |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
722 |
"automatically generated by UIEditor ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
723 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
724 |
"*** the code below performs no action" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
725 |
"*** (except for some feedback on the Transcript)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
726 |
"*** Please change as required and accept in the browser." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
727 |
"*** (and replace this comment by something more useful ;-)" |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
728 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
729 |
"action to be added ..." |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
730 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
731 |
Transcript showCR:self class name, ': action for #canStepOverHolder ...'. |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
732 |
! ! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
733 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
734 |
!VDBDebuggerApplication class methodsFor:'documentation'! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
735 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
736 |
version_HG |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
737 |
|
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
738 |
^ '$Changeset: <not expanded> $' |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
739 |
! ! |
a618018a2dab
Added window menu to main window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
740 |