author | Claus Gittinger <cg@exept.de> |
Mon, 20 Oct 2008 15:46:57 +0200 | |
changeset 8354 | 9791dde64bd7 |
parent 8302 | 7e1f250578ff |
child 8357 | 2fa277092d1c |
permissions | -rw-r--r-- |
8234 | 1 |
" |
2 |
COPYRIGHT (c) 2008 by eXept Software AG |
|
8241 | 3 |
All Rights Reserved |
8234 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
8233 | 12 |
"{ Package: 'stx:libtool' }" |
13 |
||
14 |
"{ NameSpace: Tools }" |
|
15 |
||
16 |
ApplicationModel subclass:#BreakpointBrowser |
|
17 |
instanceVariableNames:'updatingLabelShown breakpointList shownCopyOfBreakpointList |
|
18 |
selectionIndexHolder currentSortColumn currentSortIsReverse |
|
19 |
showHalts showAssertions showCodeBreakpoints |
|
20 |
showCodeBreakpointsFor showMethodBreakpoints codeView' |
|
21 |
classVariableNames:'' |
|
22 |
poolDictionaries:'' |
|
23 |
category:'Interface-Smalltalk-Breakpoints' |
|
24 |
! |
|
25 |
||
26 |
Object subclass:#BreakpointListEntry |
|
27 |
instanceVariableNames:'type arg className selector lineNumber info enabled' |
|
28 |
classVariableNames:'' |
|
29 |
poolDictionaries:'' |
|
8302 | 30 |
privateIn:BreakpointBrowser |
8233 | 31 |
! |
32 |
||
33 |
RBProgramNodeVisitor subclass:#MessageArgumentExtractor |
|
34 |
instanceVariableNames:'callBack selectorToSearch' |
|
35 |
classVariableNames:'' |
|
36 |
poolDictionaries:'' |
|
8302 | 37 |
privateIn:BreakpointBrowser |
8233 | 38 |
! |
39 |
||
40 |
!BreakpointBrowser class methodsFor:'documentation'! |
|
41 |
||
8234 | 42 |
copyright |
43 |
" |
|
44 |
COPYRIGHT (c) 2008 by eXept Software AG |
|
8241 | 45 |
All Rights Reserved |
8234 | 46 |
|
47 |
This software is furnished under a license and may be used |
|
48 |
only in accordance with the terms of that license and with the |
|
49 |
inclusion of the above copyright notice. This software may not |
|
50 |
be provided or otherwise made available to, or used by, any |
|
51 |
other person. No title to or ownership of the software is |
|
52 |
hereby transferred. |
|
53 |
" |
|
54 |
! |
|
55 |
||
8233 | 56 |
documentation |
57 |
" |
|
8234 | 58 |
tool to list breakpoints (breakPoint/halt/assert) |
8233 | 59 |
|
60 |
[author:] |
|
8241 | 61 |
cg (cg@FUSI) |
8233 | 62 |
" |
63 |
! ! |
|
64 |
||
65 |
!BreakpointBrowser class methodsFor:'interface specs'! |
|
66 |
||
67 |
windowSpec |
|
68 |
"This resource specification was automatically generated |
|
69 |
by the UIPainter of ST/X." |
|
70 |
||
71 |
"Do not manually edit this!! If it is corrupted, |
|
72 |
the UIPainter may not be able to read the specification." |
|
73 |
||
74 |
" |
|
75 |
UIPainter new openOnClass:Tools::BreakpointBrowser andSelector:#windowSpec |
|
76 |
Tools::BreakpointBrowser new openInterface:#windowSpec |
|
77 |
Tools::BreakpointBrowser open |
|
78 |
" |
|
79 |
||
80 |
<resource: #canvas> |
|
81 |
||
8241 | 82 |
^ |
8233 | 83 |
#(FullSpec |
8241 | 84 |
name: windowSpec |
85 |
window: |
|
8233 | 86 |
(WindowSpec |
8241 | 87 |
label: 'Breakpoint Browser' |
88 |
name: 'Breakpoint Browser' |
|
89 |
min: (Point 10 10) |
|
90 |
max: (Point 1024 768) |
|
91 |
bounds: (Rectangle 0 0 680 691) |
|
92 |
menu: mainMenu |
|
93 |
) |
|
94 |
component: |
|
8233 | 95 |
(SpecCollection |
8241 | 96 |
collection: ( |
97 |
(MenuPanelSpec |
|
98 |
name: 'ToolBar1' |
|
99 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 40 0) |
|
100 |
menu: toolBarMenu |
|
101 |
textDefault: true |
|
102 |
) |
|
103 |
(VariableVerticalPanelSpec |
|
104 |
name: 'VariableVerticalPanel1' |
|
105 |
layout: (LayoutFrame 0 0 40 0 0 1 0 1) |
|
106 |
snapMode: both |
|
107 |
component: |
|
108 |
(SpecCollection |
|
109 |
collection: ( |
|
110 |
(DataSetSpec |
|
111 |
name: 'Table' |
|
112 |
model: selectionIndexHolder |
|
113 |
menu: itemMenu |
|
114 |
hasHorizontalScrollBar: true |
|
115 |
hasVerticalScrollBar: true |
|
116 |
dataList: shownCopyOfBreakpointList |
|
117 |
doubleClickSelector: itemDoubleClicked: |
|
118 |
columnHolder: tableColumns |
|
119 |
) |
|
120 |
(TextEditorSpec |
|
121 |
name: 'TextEditor1' |
|
122 |
hasHorizontalScrollBar: true |
|
123 |
hasVerticalScrollBar: true |
|
124 |
hasKeyboardFocusInitially: false |
|
125 |
viewClassName: 'CodeView' |
|
126 |
postBuildCallback: postBuildCodeView: |
|
127 |
) |
|
128 |
) |
|
129 |
||
130 |
) |
|
131 |
handles: (Any 0.5 1.0) |
|
132 |
) |
|
133 |
(LabelSpec |
|
134 |
label: 'Updating...' |
|
135 |
name: 'Label1' |
|
136 |
layout: (LayoutFrame 0 0 32 0 0 1 0 1) |
|
137 |
visibilityChannel: updatingLabelShown |
|
138 |
translateLabel: true |
|
139 |
) |
|
140 |
) |
|
141 |
||
142 |
) |
|
8233 | 143 |
) |
144 |
! ! |
|
145 |
||
146 |
!BreakpointBrowser class methodsFor:'menu specs'! |
|
147 |
||
148 |
itemMenu |
|
149 |
"This resource specification was automatically generated |
|
150 |
by the MenuEditor of ST/X." |
|
151 |
||
152 |
"Do not manually edit this!! If it is corrupted, |
|
153 |
the MenuEditor may not be able to read the specification." |
|
154 |
||
155 |
" |
|
156 |
MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#itemMenu |
|
157 |
(Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser itemMenu)) startUp |
|
158 |
" |
|
159 |
||
160 |
<resource: #menu> |
|
161 |
||
8241 | 162 |
^ |
8233 | 163 |
#(Menu |
8241 | 164 |
( |
165 |
(MenuItem |
|
166 |
label: 'Browse' |
|
167 |
itemValue: browseItem |
|
168 |
translateLabel: true |
|
169 |
) |
|
170 |
) |
|
171 |
nil |
|
172 |
nil |
|
8233 | 173 |
) |
174 |
! |
|
175 |
||
176 |
mainMenu |
|
177 |
"This resource specification was automatically generated |
|
178 |
by the MenuEditor of ST/X." |
|
179 |
||
180 |
"Do not manually edit this!! If it is corrupted, |
|
181 |
the MenuEditor may not be able to read the specification." |
|
182 |
||
183 |
" |
|
184 |
MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#mainMenu |
|
185 |
(Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser mainMenu)) startUp |
|
186 |
" |
|
187 |
||
188 |
<resource: #menu> |
|
189 |
||
8241 | 190 |
^ |
8233 | 191 |
#(Menu |
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
192 |
( |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
193 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
194 |
label: 'File' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
195 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
196 |
submenu: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
197 |
(Menu |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
198 |
( |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
199 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
200 |
label: 'Exit' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
201 |
itemValue: closeRequest |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
202 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
203 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
204 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
205 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
206 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
207 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
208 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
209 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
210 |
label: 'Selection' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
211 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
212 |
submenu: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
213 |
(Menu |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
214 |
( |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
215 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
216 |
label: 'Browse' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
217 |
itemValue: browseItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
218 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
219 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
220 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
221 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
222 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
223 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
224 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
225 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
226 |
label: 'View' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
227 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
228 |
submenu: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
229 |
(Menu |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
230 |
( |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
231 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
232 |
label: 'Update List' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
233 |
itemValue: updateList |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
234 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
235 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
236 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
237 |
label: '-' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
238 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
239 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
240 |
label: 'Assertions' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
241 |
itemValue: showAssertions: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
242 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
243 |
hideMenuOnActivated: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
244 |
indication: showAssertions |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
245 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
246 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
247 |
label: 'Halts' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
248 |
itemValue: showHalts: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
249 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
250 |
hideMenuOnActivated: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
251 |
indication: showHalts |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
252 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
253 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
254 |
label: '-' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
255 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
256 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
257 |
label: 'Code Breakpoints' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
258 |
itemValue: showCodeBreakpoints: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
259 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
260 |
hideMenuOnActivated: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
261 |
indication: showCodeBreakpoints |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
262 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
263 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
264 |
enabled: showCodeBreakpoints |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
265 |
label: ' ' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
266 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
267 |
submenuChannel: codeBreakpointMenu |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
268 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
269 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
270 |
label: '-' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
271 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
272 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
273 |
label: 'Method Breakpoints' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
274 |
itemValue: showMethodBreakpoints: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
275 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
276 |
hideMenuOnActivated: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
277 |
indication: showMethodBreakpoints |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
278 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
279 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
280 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
281 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
282 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
283 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
284 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
285 |
label: 'Enable' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
286 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
287 |
submenu: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
288 |
(Menu |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
289 |
( |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
290 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
291 |
label: 'Assertions' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
292 |
itemValue: enableAssertions: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
293 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
294 |
indication: enableAssertions |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
295 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
296 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
297 |
label: 'Halts' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
298 |
itemValue: enableHalts: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
299 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
300 |
indication: enableHalts |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
301 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
302 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
303 |
label: '-' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
304 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
305 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
306 |
label: 'Code Breakpoints' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
307 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
308 |
submenuChannel: enabledCodeBreakpointMenu |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
309 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
310 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
311 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
312 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
313 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
314 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
315 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
316 |
label: 'Help' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
317 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
318 |
startGroup: right |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
319 |
submenu: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
320 |
(Menu |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
321 |
( |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
322 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
323 |
label: 'Documentation' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
324 |
itemValue: openDocumentation |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
325 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
326 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
327 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
328 |
label: '-' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
329 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
330 |
(MenuItem |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
331 |
label: 'About this Application...' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
332 |
itemValue: openAboutThisApplication |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
333 |
translateLabel: true |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
334 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
335 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
336 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
337 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
338 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
339 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
340 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
341 |
nil |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
342 |
nil |
8233 | 343 |
) |
344 |
! |
|
345 |
||
346 |
toolBarMenu |
|
347 |
"This resource specification was automatically generated |
|
348 |
by the MenuEditor of ST/X." |
|
349 |
||
350 |
"Do not manually edit this!! If it is corrupted, |
|
351 |
the MenuEditor may not be able to read the specification." |
|
352 |
||
353 |
" |
|
354 |
MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#toolBarMenu |
|
355 |
(Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser toolBarMenu)) startUp |
|
356 |
" |
|
357 |
||
358 |
<resource: #menu> |
|
359 |
||
8241 | 360 |
^ |
8233 | 361 |
#(Menu |
8241 | 362 |
( |
363 |
(MenuItem |
|
364 |
label: 'Update List' |
|
365 |
itemValue: updateList |
|
366 |
translateLabel: true |
|
367 |
isButton: true |
|
368 |
labelImage: (ResourceRetriever XPToolbarIconLibrary reloadIcon) |
|
369 |
) |
|
370 |
(MenuItem |
|
371 |
label: '-' |
|
372 |
) |
|
373 |
(MenuItem |
|
374 |
enabled: hasSelectionHolder |
|
375 |
label: 'Browse Selected Method' |
|
376 |
itemValue: browseSelectedItem |
|
377 |
translateLabel: true |
|
378 |
isButton: true |
|
379 |
labelImage: (ResourceRetriever XPToolbarIconLibrary startNewSystemBrowserIcon) |
|
380 |
) |
|
381 |
) |
|
382 |
nil |
|
383 |
nil |
|
8233 | 384 |
) |
385 |
! ! |
|
386 |
||
387 |
!BreakpointBrowser class methodsFor:'tableColumns specs'! |
|
388 |
||
389 |
tableColumns |
|
390 |
"This resource specification was automatically generated |
|
391 |
by the DataSetBuilder of ST/X." |
|
392 |
||
393 |
"Do not manually edit this!! If it is corrupted, |
|
394 |
the DataSetBuilder may not be able to read the specification." |
|
395 |
||
396 |
" |
|
397 |
DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns |
|
398 |
" |
|
399 |
||
400 |
<resource: #tableColumns> |
|
401 |
||
402 |
^#( |
|
403 |
(DataSetColumnSpec |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
404 |
label: 'Type' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
405 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
406 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
407 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
408 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
409 |
labelActionArgument: 'type' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
410 |
width: 70 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
411 |
model: type |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
412 |
canSelect: false |
8233 | 413 |
) |
414 |
(DataSetColumnSpec |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
415 |
label: 'Arg' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
416 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
417 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
418 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
419 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
420 |
labelActionArgument: 'type' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
421 |
width: 50 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
422 |
model: arg |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
423 |
canSelect: false |
8233 | 424 |
) |
425 |
(DataSetColumnSpec |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
426 |
label: 'Class' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
427 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
428 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
429 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
430 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
431 |
labelActionArgument: 'className' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
432 |
width: 150 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
433 |
model: className |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
434 |
canSelect: false |
8233 | 435 |
) |
436 |
(DataSetColumnSpec |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
437 |
label: 'Method' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
438 |
labelAlignment: left |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
439 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
440 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
441 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
442 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
443 |
labelActionArgument: 'selector' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
444 |
width: 200 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
445 |
model: selector |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
446 |
canSelect: false |
8233 | 447 |
) |
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
448 |
"/ (DataSetColumnSpec |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
449 |
"/ label: 'Line' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
450 |
"/ labelAlignment: left |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
451 |
"/ activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
452 |
"/ activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
453 |
"/ labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
454 |
"/ labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
455 |
"/ labelActionArgument: 'lineNumber' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
456 |
"/ width: 35 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
457 |
"/ model: lineNumber |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
458 |
"/ canSelect: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
459 |
"/ ) |
8233 | 460 |
(DataSetColumnSpec |
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
461 |
label: 'Info' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
462 |
labelAlignment: left |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
463 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
464 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
465 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
466 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
467 |
labelActionArgument: 'info' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
468 |
model: info |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
469 |
canSelect: false |
8233 | 470 |
) |
471 |
) |
|
472 |
! |
|
473 |
||
474 |
tableColumns_v1 |
|
475 |
"This resource specification was automatically generated |
|
476 |
by the DataSetBuilder of ST/X." |
|
477 |
||
478 |
"Do not manually edit this!! If it is corrupted, |
|
479 |
the DataSetBuilder may not be able to read the specification." |
|
480 |
||
481 |
" |
|
482 |
DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns |
|
483 |
" |
|
484 |
||
485 |
<resource: #tableColumns> |
|
486 |
||
487 |
^#( |
|
488 |
(DataSetColumnSpec |
|
8241 | 489 |
label: 'Enabled' |
490 |
activeHelpKey: '' |
|
491 |
activeHelpKeyForLabel: '' |
|
492 |
labelButtonType: Button |
|
493 |
width: 50 |
|
494 |
editorType: CheckToggle |
|
495 |
rendererType: CheckToggle |
|
496 |
model: enabled |
|
8233 | 497 |
) |
498 |
(DataSetColumnSpec |
|
8241 | 499 |
label: 'Type' |
500 |
activeHelpKey: '' |
|
501 |
activeHelpKeyForLabel: '' |
|
502 |
labelButtonType: Button |
|
503 |
labelActionSelector: sortBy: |
|
504 |
labelActionArgument: 'type' |
|
505 |
width: 60 |
|
506 |
model: type |
|
507 |
canSelect: false |
|
8233 | 508 |
) |
509 |
(DataSetColumnSpec |
|
8241 | 510 |
label: 'Arg' |
511 |
activeHelpKey: '' |
|
512 |
activeHelpKeyForLabel: '' |
|
513 |
labelButtonType: Button |
|
514 |
labelActionSelector: sortBy: |
|
515 |
labelActionArgument: 'type' |
|
516 |
width: 50 |
|
517 |
model: arg |
|
518 |
canSelect: false |
|
8233 | 519 |
) |
520 |
(DataSetColumnSpec |
|
8241 | 521 |
label: 'Class' |
522 |
activeHelpKey: '' |
|
523 |
activeHelpKeyForLabel: '' |
|
524 |
labelButtonType: Button |
|
525 |
labelActionSelector: sortBy: |
|
526 |
labelActionArgument: 'className' |
|
527 |
width: 150 |
|
528 |
model: className |
|
529 |
canSelect: false |
|
8233 | 530 |
) |
531 |
(DataSetColumnSpec |
|
8241 | 532 |
label: 'Method' |
533 |
labelAlignment: left |
|
534 |
activeHelpKey: '' |
|
535 |
activeHelpKeyForLabel: '' |
|
536 |
labelButtonType: Button |
|
537 |
labelActionSelector: sortBy: |
|
538 |
labelActionArgument: 'selector' |
|
539 |
width: 200 |
|
540 |
model: selector |
|
541 |
canSelect: false |
|
8233 | 542 |
) |
543 |
(DataSetColumnSpec |
|
8241 | 544 |
label: 'Line' |
545 |
labelAlignment: left |
|
546 |
activeHelpKey: '' |
|
547 |
activeHelpKeyForLabel: '' |
|
548 |
labelButtonType: Button |
|
549 |
labelActionSelector: sortBy: |
|
550 |
labelActionArgument: 'lineNumber' |
|
551 |
width: 35 |
|
552 |
model: lineNumber |
|
553 |
canSelect: false |
|
8233 | 554 |
) |
555 |
(DataSetColumnSpec |
|
8241 | 556 |
label: 'Info' |
557 |
labelAlignment: left |
|
558 |
activeHelpKey: '' |
|
559 |
activeHelpKeyForLabel: '' |
|
560 |
labelButtonType: Button |
|
561 |
labelActionSelector: sortBy: |
|
562 |
labelActionArgument: 'info' |
|
563 |
model: info |
|
564 |
canSelect: false |
|
8233 | 565 |
) |
566 |
) |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
567 |
! |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
568 |
|
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
569 |
tableColumns_v2 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
570 |
"This resource specification was automatically generated |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
571 |
by the DataSetBuilder of ST/X." |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
572 |
|
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
573 |
"Do not manually edit this!! If it is corrupted, |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
574 |
the DataSetBuilder may not be able to read the specification." |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
575 |
|
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
576 |
" |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
577 |
DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
578 |
" |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
579 |
|
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
580 |
<resource: #tableColumns> |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
581 |
|
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
582 |
^#( |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
583 |
(DataSetColumnSpec |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
584 |
label: 'Type' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
585 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
586 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
587 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
588 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
589 |
labelActionArgument: 'type' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
590 |
width: 70 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
591 |
model: type |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
592 |
canSelect: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
593 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
594 |
(DataSetColumnSpec |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
595 |
label: 'Arg' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
596 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
597 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
598 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
599 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
600 |
labelActionArgument: 'type' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
601 |
width: 50 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
602 |
model: arg |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
603 |
canSelect: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
604 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
605 |
(DataSetColumnSpec |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
606 |
label: 'Class' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
607 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
608 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
609 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
610 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
611 |
labelActionArgument: 'className' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
612 |
width: 150 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
613 |
model: className |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
614 |
canSelect: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
615 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
616 |
(DataSetColumnSpec |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
617 |
label: 'Method' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
618 |
labelAlignment: left |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
619 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
620 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
621 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
622 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
623 |
labelActionArgument: 'selector' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
624 |
width: 200 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
625 |
model: selector |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
626 |
canSelect: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
627 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
628 |
(DataSetColumnSpec |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
629 |
label: 'Line' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
630 |
labelAlignment: left |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
631 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
632 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
633 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
634 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
635 |
labelActionArgument: 'lineNumber' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
636 |
width: 35 |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
637 |
model: lineNumber |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
638 |
canSelect: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
639 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
640 |
(DataSetColumnSpec |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
641 |
label: 'Info' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
642 |
labelAlignment: left |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
643 |
activeHelpKey: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
644 |
activeHelpKeyForLabel: '' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
645 |
labelButtonType: Button |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
646 |
labelActionSelector: sortBy: |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
647 |
labelActionArgument: 'info' |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
648 |
model: info |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
649 |
canSelect: false |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
650 |
) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
651 |
) |
8233 | 652 |
! ! |
653 |
||
654 |
!BreakpointBrowser methodsFor:'accessing'! |
|
655 |
||
8302 | 656 |
aboutThisApplicationText |
657 |
|msg| |
|
658 |
||
659 |
msg := super aboutThisApplicationText. |
|
660 |
msg := msg , '\\Written by Claus Gittinger (cg@exept.de).'. |
|
661 |
^msg withCRs. |
|
662 |
! |
|
663 |
||
8233 | 664 |
breakpointListEntryAtIndex:idx |
665 |
^ shownCopyOfBreakpointList at:idx ifAbsent:nil |
|
666 |
||
667 |
||
668 |
||
669 |
||
670 |
||
671 |
! |
|
672 |
||
673 |
selectedBreakpointListEntry |
|
674 |
^ self breakpointListEntryAtIndex:(self selectionIndex). |
|
675 |
! |
|
676 |
||
677 |
selectionIndex |
|
678 |
^ self selectionIndexHolder value |
|
679 |
! |
|
680 |
||
681 |
shownCopyOfBreakpointList |
|
682 |
shownCopyOfBreakpointList isNil ifTrue:[ |
|
8241 | 683 |
shownCopyOfBreakpointList := List new |
8233 | 684 |
]. |
685 |
^ shownCopyOfBreakpointList |
|
686 |
||
687 |
"Created: / 18-02-2007 / 12:53:01 / cg" |
|
688 |
! |
|
689 |
||
690 |
updatingLabelShown |
|
691 |
updatingLabelShown isNil ifTrue:[ |
|
8241 | 692 |
updatingLabelShown := true asValue |
8233 | 693 |
]. |
694 |
^ updatingLabelShown |
|
695 |
! ! |
|
696 |
||
697 |
!BreakpointBrowser methodsFor:'aspects'! |
|
698 |
||
699 |
enableAssertions |
|
700 |
^ (Smalltalk at:#IgnoreAssertion ifAbsent:false) not |
|
701 |
! |
|
702 |
||
703 |
enableAssertions:aBoolean |
|
704 |
^ Smalltalk at:#IgnoreAssertion put:aBoolean not |
|
705 |
! |
|
706 |
||
707 |
enableHalts |
|
708 |
^ (Smalltalk at:#IgnoreHalt ifAbsent:false) not |
|
709 |
! |
|
710 |
||
711 |
enableHalts:aBoolean |
|
712 |
^ Smalltalk at:#IgnoreHalt put:aBoolean not |
|
713 |
! |
|
714 |
||
715 |
hasSelectionHolder |
|
716 |
^ BlockValue |
|
8241 | 717 |
with:[:selIndex | selIndex notNil and:[selIndex ~~ 0]] |
718 |
argument:self selectionIndexHolder |
|
8233 | 719 |
! |
720 |
||
721 |
selectionIndexHolder |
|
722 |
selectionIndexHolder isNil ifTrue:[ |
|
8241 | 723 |
selectionIndexHolder := nil asValue. |
724 |
selectionIndexHolder onChangeSend:#updateCode to:self |
|
8233 | 725 |
]. |
726 |
^ selectionIndexHolder |
|
727 |
||
728 |
"Created: / 22-10-2006 / 02:00:41 / cg" |
|
729 |
! |
|
730 |
||
731 |
showAssertions |
|
732 |
^ showAssertions ? true |
|
733 |
! |
|
734 |
||
735 |
showAssertions:aBoolean |
|
736 |
showAssertions := aBoolean. |
|
737 |
self updateShownBreakpointList |
|
738 |
! |
|
739 |
||
740 |
showCodeBreakpoints |
|
741 |
^ showCodeBreakpoints ? true |
|
742 |
! |
|
743 |
||
744 |
showCodeBreakpoints:aBoolean |
|
745 |
showCodeBreakpoints := aBoolean. |
|
746 |
self updateShownBreakpointList |
|
747 |
! |
|
748 |
||
749 |
showHalts |
|
750 |
^ showHalts ? true |
|
751 |
! |
|
752 |
||
753 |
showHalts:aBoolean |
|
754 |
showHalts := aBoolean. |
|
755 |
self updateShownBreakpointList |
|
756 |
! |
|
757 |
||
758 |
showMethodBreakpoints |
|
759 |
^ showMethodBreakpoints ? true |
|
760 |
! |
|
761 |
||
762 |
showMethodBreakpoints:aBoolean |
|
763 |
showMethodBreakpoints := aBoolean. |
|
764 |
self updateShownBreakpointList |
|
765 |
! ! |
|
766 |
||
767 |
!BreakpointBrowser methodsFor:'change & update'! |
|
768 |
||
769 |
delayedUpdate:something with:aParameter from:changedObject |
|
770 |
"/ changedObject == toDoList ifTrue:[ |
|
771 |
"/ self updateShownToDoList. |
|
772 |
"/ ^ self |
|
773 |
"/ ]. |
|
774 |
! |
|
775 |
||
776 |
filter |
|
777 |
|newList| |
|
778 |
||
779 |
newList := breakpointList. |
|
780 |
self showHalts ifFalse:[ |
|
8241 | 781 |
newList := newList reject:[:entry | entry isHalt]. |
8233 | 782 |
]. |
783 |
self showCodeBreakpoints ifFalse:[ |
|
8241 | 784 |
newList := newList reject:[:entry | entry isCodeBreakpoint]. |
8233 | 785 |
] ifTrue:[ |
8241 | 786 |
newList := newList reject:[:entry | |
787 |
|flag| |
|
8233 | 788 |
|
8241 | 789 |
flag := (showCodeBreakpointsFor at:(entry arg ? '<nil>') ifAbsentPut:[true asValue]) value. |
790 |
entry isCodeBreakpoint |
|
791 |
and:[ flag not ] |
|
792 |
]. |
|
8233 | 793 |
]. |
794 |
self showMethodBreakpoints ifFalse:[ |
|
8241 | 795 |
newList := newList reject:[:entry | entry isMethodBreakpoint]. |
8233 | 796 |
]. |
797 |
self showAssertions ifFalse:[ |
|
8241 | 798 |
newList := newList reject:[:entry | entry isAssertion]. |
8233 | 799 |
]. |
800 |
shownCopyOfBreakpointList contents:newList. |
|
801 |
! |
|
802 |
||
803 |
update:something with:aParameter from:changedObject |
|
804 |
^ super update:something with:aParameter from:changedObject |
|
805 |
||
806 |
"Created: / 18-02-2007 / 12:54:32 / cg" |
|
807 |
! |
|
808 |
||
809 |
updateBreakpointList |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
810 |
|newShowCodeBreakpointsFor messages messageSelectors update | |
8233 | 811 |
|
812 |
breakpointList removeAll. |
|
813 |
newShowCodeBreakpointsFor := Dictionary new. |
|
814 |
||
8241 | 815 |
messages := #( |
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
816 |
(#breakPoint: #breakPoint) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
817 |
(#breakPoint:info: #breakPoint) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
818 |
(#debuggingCodeFor:is: #debugCode) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
819 |
(#halt #halt) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
820 |
(#halt: #halt) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
821 |
(#assert: #assertion) |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
822 |
(#assert:message: #assertion) |
8302 | 823 |
). |
8233 | 824 |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
825 |
messageSelectors := (messages collect:[:each | each first]) asSet. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
826 |
|
8233 | 827 |
update := [:cls :mthd :sel | |
8302 | 828 |
|entry type messagesSent| |
8233 | 829 |
|
8302 | 830 |
mthd isWrapped ifTrue:[ |
831 |
mthd isBreakpointed ifTrue:[ |
|
832 |
type := #trap |
|
833 |
] ifFalse:[ |
|
834 |
mthd isTraced ifTrue:[ |
|
835 |
type := #trace |
|
836 |
] ifFalse:[ |
|
837 |
type := #probe |
|
838 |
]. |
|
839 |
]. |
|
840 |
entry := BreakpointListEntry new. |
|
841 |
entry |
|
842 |
type:#wrap |
|
843 |
arg:type |
|
844 |
className:cls name |
|
845 |
selector:sel |
|
846 |
lineNumber:nil |
|
847 |
info:nil |
|
848 |
enabled:true. |
|
849 |
breakpointList add:entry. |
|
850 |
]. |
|
8233 | 851 |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
852 |
(mthd literalsDetect:[:lit |messageSelectors includes:lit] ifNone:nil) notNil ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
853 |
messagesSent isNil ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
854 |
messagesSent := mthd messagesSent. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
855 |
]. |
8233 | 856 |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
857 |
messages pairsDo:[:bpSel :type| |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
858 |
|tree extractor| |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
859 |
|
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
860 |
"/ used to be (mthd sends:bpSel); |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
861 |
"/ however, the sends requires an expensive parse of the methods source |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
862 |
"/ to fetch all message selectors. This should be done only once, |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
863 |
"/ and not for every selector we look for) |
8302 | 864 |
(messagesSent includesIdentical:bpSel) ifTrue:[ |
865 |
tree := mthd parseTree. |
|
866 |
tree isNil ifTrue:[ |
|
867 |
entry := BreakpointListEntry new. |
|
868 |
entry |
|
869 |
type:type |
|
870 |
arg:nil |
|
871 |
className:cls name |
|
872 |
selector:sel |
|
873 |
lineNumber:nil |
|
874 |
info:nil |
|
875 |
enabled:true. |
|
876 |
breakpointList add:entry. |
|
877 |
] ifFalse:[ |
|
878 |
extractor := MessageArgumentExtractor new. |
|
879 |
extractor selectorToSearch:bpSel. |
|
880 |
extractor callBack:[:lineNo :argument :infoMessage | |
|
881 |
argument notNil ifTrue:[ |
|
882 |
newShowCodeBreakpointsFor |
|
883 |
at:argument |
|
884 |
put:(showCodeBreakpointsFor |
|
885 |
at:argument |
|
886 |
ifAbsent:[true asValue]) |
|
887 |
]. |
|
888 |
entry := BreakpointListEntry new. |
|
889 |
entry |
|
890 |
type:type |
|
891 |
arg:argument |
|
892 |
className:cls name |
|
893 |
selector:sel |
|
894 |
lineNumber:lineNo |
|
895 |
info:infoMessage |
|
896 |
enabled:true. |
|
897 |
breakpointList add:entry. |
|
898 |
]. |
|
899 |
tree acceptVisitor:extractor. |
|
900 |
] |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
901 |
]. |
8302 | 902 |
]. |
903 |
]. |
|
8233 | 904 |
]. |
905 |
||
906 |
Smalltalk allClassesDo:[:cls | |
|
8302 | 907 |
cls selectorsAndMethodsDo:[:sel :mthd | |
908 |
update value:cls value:mthd value:sel |
|
909 |
]. |
|
910 |
cls class selectorsAndMethodsDo:[:sel :mthd | |
|
911 |
update value:cls class value:mthd value:sel |
|
912 |
]. |
|
8233 | 913 |
]. |
914 |
||
915 |
showCodeBreakpointsFor := newShowCodeBreakpointsFor. |
|
916 |
! |
|
917 |
||
918 |
updateCode |
|
919 |
|entry method| |
|
920 |
||
921 |
entry := self selectedBreakpointListEntry. |
|
922 |
entry isNil ifTrue:[ |
|
8241 | 923 |
codeView contents:nil. |
924 |
^ self |
|
8233 | 925 |
]. |
926 |
method := entry method. |
|
927 |
method isNil ifTrue:[ |
|
8241 | 928 |
codeView contents:'OOPS - no source found'. |
929 |
] ifFalse:[ |
|
930 |
codeView contents:(method source). |
|
931 |
entry lineNumber notNil ifTrue:[ |
|
932 |
codeView cursorLine:entry lineNumber col:1. |
|
933 |
codeView selectLine:entry lineNumber. |
|
934 |
]. |
|
8233 | 935 |
]. |
936 |
||
937 |
||
938 |
||
939 |
! |
|
940 |
||
941 |
updateShownBreakpointList |
|
942 |
||
943 |
self shownCopyOfBreakpointList contents:breakpointList. |
|
944 |
self filter. |
|
945 |
self resort. |
|
946 |
||
947 |
||
948 |
! ! |
|
949 |
||
950 |
!BreakpointBrowser methodsFor:'initialization & release'! |
|
951 |
||
952 |
initialize |
|
953 |
super initialize. |
|
954 |
||
955 |
showCodeBreakpointsFor := Dictionary new. |
|
956 |
breakpointList := List new. |
|
957 |
||
958 |
currentSortColumn := #type. |
|
959 |
currentSortIsReverse := false. |
|
960 |
! |
|
961 |
||
962 |
postBuildCodeView:aView |
|
963 |
codeView := aView |
|
964 |
! |
|
965 |
||
966 |
postOpenWith:aBuilder |
|
967 |
super postOpenWith:aBuilder. |
|
968 |
||
969 |
self enqueueMessage:#updateList for:self arguments:#(). |
|
970 |
||
971 |
"Modified: / 18-02-2007 / 12:55:57 / cg" |
|
972 |
! ! |
|
973 |
||
974 |
!BreakpointBrowser methodsFor:'menu actions'! |
|
975 |
||
976 |
openAboutThisApplication |
|
977 |
super openAboutThisApplication |
|
978 |
! |
|
979 |
||
980 |
openDocumentation |
|
981 |
HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#BREAKPOINTLIST'. |
|
982 |
||
983 |
"/ add application-specific help files under the 'doc/online/<language>/help/appName' |
|
984 |
"/ directory, and open a viewer with: |
|
985 |
"/ HTMLDocumentView openFullOnDocumentationFile:'help/<MyApplication>/TOP.html'. |
|
986 |
! ! |
|
987 |
||
988 |
!BreakpointBrowser methodsFor:'menu actions-item'! |
|
989 |
||
990 |
browseItem |
|
991 |
(self breakpointListEntryAtIndex:self selectionIndexHolder value) browse |
|
992 |
! |
|
993 |
||
994 |
removeItem |
|
995 |
breakpointList remove:(self selectedBreakpointListEntry) |
|
996 |
||
997 |
"Created: / 22-10-2006 / 10:45:52 / cg" |
|
998 |
"Modified: / 18-02-2007 / 12:57:58 / cg" |
|
999 |
! ! |
|
1000 |
||
1001 |
!BreakpointBrowser methodsFor:'menus-dynamic'! |
|
1002 |
||
1003 |
codeBreakpointMenu |
|
1004 |
<resource: #programMenu > |
|
1005 |
||
1006 |
|breakpointArgs menu| |
|
1007 |
||
1008 |
breakpointArgs := Set new. |
|
8241 | 1009 |
breakpointList |
1010 |
select:[:entry | entry arg notNil] |
|
1011 |
thenDo:[:entry | breakpointArgs add:entry arg]. |
|
8233 | 1012 |
(breakpointList contains:[:entry | entry arg isNil]) ifTrue:[ |
8241 | 1013 |
breakpointArgs add:'<nil>'. |
8233 | 1014 |
]. |
1015 |
breakpointArgs := breakpointArgs asSortedCollection. |
|
1016 |
||
1017 |
menu := Menu new. |
|
8241 | 1018 |
breakpointArgs do:[:arg| |
1019 |
| menuItem | |
|
8233 | 1020 |
|
8241 | 1021 |
menuItem := MenuItem new. |
1022 |
menuItem label:arg. |
|
1023 |
menuItem translateLabel:false. |
|
1024 |
menuItem indication:(showCodeBreakpointsFor at:arg ifAbsentPut:[true asValue]). |
|
1025 |
menuItem hideMenuOnActivated:false. |
|
1026 |
menuItem value:[:onOff | |
|
1027 |
(showCodeBreakpointsFor at:arg ifAbsentPut:[true asValue]) value:onOff. |
|
1028 |
self updateShownBreakpointList |
|
1029 |
]. |
|
1030 |
menu addItem:menuItem. |
|
8233 | 1031 |
]. |
1032 |
menu findGuiResourcesIn:self. |
|
1033 |
^ menu |
|
1034 |
||
1035 |
"Modified: / 27-03-2007 / 10:54:29 / cg" |
|
1036 |
! |
|
1037 |
||
1038 |
enabledCodeBreakpointMenu |
|
1039 |
<resource: #programMenu > |
|
1040 |
||
1041 |
|breakpointArgs menu enabledCodeBreakpointHolders| |
|
1042 |
||
1043 |
enabledCodeBreakpointHolders := Dictionary new. |
|
1044 |
||
1045 |
breakpointArgs := Set new. |
|
8241 | 1046 |
breakpointList |
1047 |
select:[:entry | entry arg notNil] |
|
1048 |
thenDo:[:entry | breakpointArgs add:entry arg]. |
|
8233 | 1049 |
(breakpointList contains:[:entry | entry arg isNil]) ifTrue:[ |
8241 | 1050 |
breakpointArgs add:'<nil>'. |
8233 | 1051 |
]. |
1052 |
breakpointArgs := breakpointArgs asSortedCollection. |
|
1053 |
||
1054 |
menu := Menu new. |
|
8241 | 1055 |
breakpointArgs do:[:arg| |
1056 |
| menuItem | |
|
8233 | 1057 |
|
8241 | 1058 |
menuItem := MenuItem new. |
1059 |
menuItem label:arg. |
|
1060 |
menuItem translateLabel:false. |
|
1061 |
menuItem indication:(enabledCodeBreakpointHolders at:arg ifAbsentPut:[ (Object isBreakPointEnabled:arg) asValue ]). |
|
1062 |
menuItem hideMenuOnActivated:false. |
|
1063 |
menuItem value:[:onOff | |
|
1064 |
(enabledCodeBreakpointHolders at:arg ifAbsentPut:[(Object isBreakPointEnabled:arg) asValue]) value:onOff. |
|
1065 |
onOff ifFalse:[ |
|
1066 |
Object disableBreakPoint:arg |
|
1067 |
] ifTrue:[ |
|
1068 |
Object enableBreakPoint:arg |
|
1069 |
]. |
|
1070 |
]. |
|
1071 |
menu addItem:menuItem. |
|
8233 | 1072 |
]. |
1073 |
menu findGuiResourcesIn:self. |
|
1074 |
^ menu |
|
1075 |
||
1076 |
"Modified: / 27-03-2007 / 10:54:29 / cg" |
|
1077 |
! ! |
|
1078 |
||
1079 |
!BreakpointBrowser methodsFor:'user actions'! |
|
1080 |
||
1081 |
browseSelectedItem |
|
1082 |
(self selectedBreakpointListEntry) browse |
|
1083 |
||
1084 |
"Created: / 22-10-2006 / 01:49:13 / cg" |
|
1085 |
"Modified: / 18-02-2007 / 12:56:30 / cg" |
|
1086 |
! |
|
1087 |
||
1088 |
itemDoubleClicked:itemIndex |
|
1089 |
self browseSelectedItem |
|
1090 |
||
1091 |
"Created: / 22-10-2006 / 01:49:13 / cg" |
|
1092 |
"Modified: / 18-02-2007 / 12:56:30 / cg" |
|
1093 |
! |
|
1094 |
||
1095 |
resort |
|
1096 |
|sortBlock sortBlock1| |
|
1097 |
||
1098 |
currentSortColumn isNil ifTrue:[^ self ]. |
|
1099 |
||
1100 |
sortBlock := sortBlock1 := [:a :b | |
|
8241 | 1101 |
|vA vB| |
8233 | 1102 |
|
8241 | 1103 |
vA := (a perform:currentSortColumn). |
1104 |
vB := (b perform:currentSortColumn). |
|
1105 |
vA = vB ifTrue:[ |
|
1106 |
currentSortColumn == #type ifTrue:[ |
|
1107 |
vA := a arg. |
|
1108 |
vB := b arg. |
|
1109 |
vA = vB ifTrue:[ |
|
1110 |
vA := a className. |
|
1111 |
vB := b className. |
|
1112 |
vA = vB ifTrue:[ |
|
1113 |
vA := a selector. |
|
1114 |
vB := b selector. |
|
1115 |
vA = vB ifTrue:[ |
|
1116 |
vA := a lineNumber. |
|
1117 |
vB := b lineNumber. |
|
1118 |
] |
|
1119 |
] |
|
1120 |
] |
|
1121 |
] |
|
1122 |
]. |
|
1123 |
(vA ? '') < (vB ? '') |
|
1124 |
]. |
|
8233 | 1125 |
|
1126 |
currentSortIsReverse ifTrue:[ |
|
8241 | 1127 |
sortBlock := [:a :b | (sortBlock1 value:a value:b) not ]. |
8233 | 1128 |
]. |
1129 |
||
1130 |
"/ temporary hack - should make a copy of the real list |
|
1131 |
self shownCopyOfBreakpointList sort:sortBlock |
|
1132 |
||
1133 |
"Created: / 25-10-2006 / 01:01:26 / cg" |
|
1134 |
"Modified: / 18-02-2007 / 13:02:19 / cg" |
|
1135 |
! |
|
1136 |
||
1137 |
sortBy:instanceName |
|
1138 |
self sortBy:instanceName withReverse:true |
|
1139 |
||
1140 |
"Created: / 25-10-2006 / 00:53:55 / cg" |
|
1141 |
! |
|
1142 |
||
1143 |
sortBy:instanceName withReverse:aBoolean |
|
1144 |
|aSymbol| |
|
1145 |
||
1146 |
aSymbol := instanceName asSymbol. |
|
1147 |
||
1148 |
currentSortColumn isNil ifTrue:[ |
|
8241 | 1149 |
currentSortColumn := aSymbol. |
1150 |
currentSortIsReverse := false. |
|
8233 | 1151 |
] ifFalse:[ |
8241 | 1152 |
currentSortColumn = aSymbol ifTrue:[ |
1153 |
"/ same column like before - change sort order ifReverse is true |
|
1154 |
aBoolean ifTrue:[ |
|
1155 |
currentSortIsReverse := currentSortIsReverse not. |
|
1156 |
]. |
|
1157 |
] ifFalse:[ |
|
1158 |
"/ another column - remark column |
|
1159 |
currentSortColumn := aSymbol. |
|
1160 |
] |
|
8233 | 1161 |
]. |
1162 |
self resort. |
|
1163 |
||
1164 |
"Created: / 25-10-2006 / 00:54:59 / cg" |
|
1165 |
! |
|
1166 |
||
1167 |
updateList |
|
1168 |
self updatingLabelShown value:true. |
|
1169 |
"/ cg: mhmh why is this needed ???? |
|
1170 |
Delay waitForSeconds:0.1. |
|
1171 |
self windowGroup repairDamage. |
|
1172 |
||
1173 |
self withWaitCursorDo:[ |
|
8241 | 1174 |
self updateBreakpointList. |
1175 |
self updateShownBreakpointList. |
|
8233 | 1176 |
]. |
1177 |
self updatingLabelShown value:false. |
|
1178 |
! ! |
|
1179 |
||
1180 |
!BreakpointBrowser::BreakpointListEntry methodsFor:'accessing'! |
|
1181 |
||
1182 |
arg |
|
1183 |
^ arg |
|
1184 |
! |
|
1185 |
||
1186 |
className |
|
1187 |
^ className |
|
1188 |
! |
|
1189 |
||
1190 |
enabled |
|
1191 |
^ enabled |
|
1192 |
! |
|
1193 |
||
1194 |
info |
|
1195 |
^ info |
|
1196 |
! |
|
1197 |
||
1198 |
lineNumber |
|
1199 |
^ lineNumber |
|
1200 |
! |
|
1201 |
||
1202 |
selector |
|
1203 |
^ selector |
|
1204 |
! |
|
1205 |
||
1206 |
type |
|
1207 |
^ type |
|
1208 |
! |
|
1209 |
||
8241 | 1210 |
type:typeArg arg:argArg className:classNameArg selector:selectorArg lineNumber:lineNumberArg info:infoArg enabled:enabledArg |
8233 | 1211 |
type := typeArg. |
1212 |
arg := argArg. |
|
1213 |
className := classNameArg. |
|
1214 |
selector := selectorArg. |
|
1215 |
lineNumber := lineNumberArg. |
|
1216 |
info := infoArg. |
|
1217 |
enabled := enabledArg. |
|
1218 |
! ! |
|
1219 |
||
1220 |
!BreakpointBrowser::BreakpointListEntry methodsFor:'actions'! |
|
1221 |
||
1222 |
browse |
|
1223 |
|browser| |
|
1224 |
||
1225 |
browser := UserPreferences systemBrowserClass |
|
8241 | 1226 |
openInClass:(Smalltalk classNamed:className) selector:selector. |
8233 | 1227 |
|
1228 |
lineNumber notNil ifTrue:[ |
|
8241 | 1229 |
browser codeView cursorLine:lineNumber col:1. |
1230 |
browser codeView selectLine:lineNumber. |
|
8233 | 1231 |
]. |
1232 |
||
1233 |
! |
|
1234 |
||
1235 |
method |
|
1236 |
^ (Smalltalk classNamed:className) compiledMethodAt:selector. |
|
1237 |
! ! |
|
1238 |
||
1239 |
!BreakpointBrowser::BreakpointListEntry methodsFor:'testing'! |
|
1240 |
||
1241 |
isAssertion |
|
1242 |
^ type == #assertion |
|
1243 |
! |
|
1244 |
||
1245 |
isCodeBreakpoint |
|
1246 |
^ type == #breakpoint |
|
1247 |
! |
|
1248 |
||
1249 |
isHalt |
|
1250 |
^ type == #halt |
|
1251 |
! |
|
1252 |
||
1253 |
isMethodBreakpoint |
|
1254 |
^ type == #wrap |
|
1255 |
! ! |
|
1256 |
||
1257 |
!BreakpointBrowser::MessageArgumentExtractor methodsFor:'accessing'! |
|
1258 |
||
1259 |
callBack:something |
|
1260 |
callBack := something. |
|
1261 |
! |
|
1262 |
||
1263 |
selectorToSearch:something |
|
1264 |
selectorToSearch := something. |
|
1265 |
! ! |
|
1266 |
||
1267 |
!BreakpointBrowser::MessageArgumentExtractor methodsFor:'visiting'! |
|
1268 |
||
1269 |
acceptMessageNode: aMessageNode |
|
1270 |
|arg1Node arg1 arg2Node arg2 argument infoMessage| |
|
1271 |
||
1272 |
aMessageNode selector == selectorToSearch ifTrue:[ |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1273 |
aMessageNode arguments size > 0 ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1274 |
arg1Node := aMessageNode arguments first. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1275 |
arg1Node isLiteral ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1276 |
arg1 := arg1Node value. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1277 |
]. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1278 |
aMessageNode arguments size > 1 ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1279 |
arg2Node := aMessageNode arguments second. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1280 |
arg2Node isLiteral ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1281 |
arg2 := arg2Node value. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1282 |
]. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1283 |
]. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1284 |
]. |
8233 | 1285 |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1286 |
selectorToSearch == #halt: ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1287 |
infoMessage := arg1. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1288 |
]. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1289 |
selectorToSearch == #breakPoint: ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1290 |
argument := arg1. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1291 |
]. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1292 |
selectorToSearch == #breakPoint:info: ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1293 |
argument := arg1. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1294 |
infoMessage := arg2. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1295 |
]. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1296 |
selectorToSearch == #debuggingCodeFor:is: ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1297 |
argument := arg1. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1298 |
]. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1299 |
selectorToSearch == #assert: ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1300 |
]. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1301 |
selectorToSearch == #assert:message: ifTrue:[ |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1302 |
infoMessage := arg2. |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1303 |
]. |
8233 | 1304 |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1305 |
callBack |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1306 |
value:aMessageNode firstLineNumber |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1307 |
value:argument |
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1308 |
value:infoMessage |
8233 | 1309 |
]. |
1310 |
super acceptMessageNode: aMessageNode |
|
1311 |
! ! |
|
1312 |
||
1313 |
!BreakpointBrowser class methodsFor:'documentation'! |
|
1314 |
||
1315 |
version |
|
8354
9791dde64bd7
also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents:
8302
diff
changeset
|
1316 |
^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointBrowser.st,v 1.6 2008-10-20 13:46:57 cg Exp $' |
8233 | 1317 |
! ! |