author | Claus Gittinger <cg@exept.de> |
Fri, 18 Apr 1997 21:05:22 +0200 | |
changeset 2568 | 9b7a3a08b8ca |
parent 2118 | 2b1d0b19484c |
child 2661 | fea131f9f062 |
permissions | -rw-r--r-- |
1 | 1 |
" |
5 | 2 |
COPYRIGHT (c) 1988 by Claus Gittinger |
159 | 3 |
All Rights Reserved |
1 | 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 |
" |
|
12 |
||
720 | 13 |
Object subclass:#MiniDebugger |
976 | 14 |
instanceVariableNames:'tracing stepping traceBlock' |
15 |
classVariableNames:'TheOneAndOnlyDebugger' |
|
16 |
poolDictionaries:'' |
|
17 |
category:'System-Debugging-Support' |
|
1 | 18 |
! |
19 |
||
618 | 20 |
!MiniDebugger class methodsFor:'documentation'! |
89 | 21 |
|
22 |
copyright |
|
23 |
" |
|
24 |
COPYRIGHT (c) 1988 by Claus Gittinger |
|
159 | 25 |
All Rights Reserved |
1 | 26 |
|
89 | 27 |
This software is furnished under a license and may be used |
28 |
only in accordance with the terms of that license and with the |
|
29 |
inclusion of the above copyright notice. This software may not |
|
30 |
be provided or otherwise made available to, or used by, any |
|
31 |
other person. No title to or ownership of the software is |
|
32 |
hereby transferred. |
|
33 |
" |
|
34 |
! |
|
1 | 35 |
|
89 | 36 |
documentation |
37 |
" |
|
38 |
a primitive (non graphical) debugger for use on systems without |
|
39 |
graphics or when the real debugger dies (i.e. an error occurs in |
|
40 |
the graphical debugger). |
|
93 | 41 |
Also, if an interrupt occurs within the debuger, this one is called |
42 |
for. |
|
1297 | 43 |
|
44 |
[author:] |
|
45 |
Claus Gittinger |
|
89 | 46 |
" |
47 |
! ! |
|
1 | 48 |
|
618 | 49 |
!MiniDebugger class methodsFor:'instance creation'! |
50 |
||
51 |
enter |
|
52 |
^ self enterWithMessage:'MiniDebugger' |
|
53 |
! |
|
54 |
||
55 |
enter:aContext |
|
56 |
^ self enterWithMessage:'MiniDebugger' |
|
57 |
! |
|
58 |
||
59 |
enter:aContext withMessage:aString |
|
60 |
^ self enterWithMessage:aString |
|
61 |
! |
|
62 |
||
63 |
enterWithMessage:aString |
|
64 |
|active| |
|
65 |
||
66 |
StepInterruptPending := nil. |
|
67 |
||
1424 | 68 |
aString printCR. |
618 | 69 |
Processor notNil ifTrue:[ |
1424 | 70 |
active := Processor activeProcess. |
71 |
'process: id=' print. active id print. ' name=' print. active name printCR. |
|
618 | 72 |
]. |
73 |
self new enter. |
|
74 |
^ nil |
|
1424 | 75 |
|
76 |
"Modified: 20.5.1996 / 10:28:31 / cg" |
|
618 | 77 |
! |
1 | 78 |
|
79 |
new |
|
1424 | 80 |
TheOneAndOnlyDebugger printCR. |
33 | 81 |
TheOneAndOnlyDebugger isNil ifTrue:[ |
1424 | 82 |
TheOneAndOnlyDebugger := self basicNew initialize |
1 | 83 |
]. |
33 | 84 |
^ TheOneAndOnlyDebugger |
1424 | 85 |
|
86 |
"Modified: 20.5.1996 / 10:28:35 / cg" |
|
1 | 87 |
! |
88 |
||
89 |
singleStep:aBlock |
|
90 |
|aDebugger| |
|
91 |
||
92 |
aDebugger := self new stepping. |
|
241 | 93 |
ObjectMemory stepInterruptHandler:aDebugger. |
2 | 94 |
ObjectMemory flushInlineCaches. |
241 | 95 |
StepInterruptPending := 1. |
96 |
InterruptPending := 1. |
|
1 | 97 |
aBlock value. |
2 | 98 |
StepInterruptPending := nil. |
99 |
ObjectMemory stepInterruptHandler:nil |
|
1 | 100 |
! |
101 |
||
102 |
trace:aBlock |
|
1424 | 103 |
self trace:aBlock with:[:where | where printCR] |
104 |
||
105 |
"Modified: 20.5.1996 / 10:27:37 / cg" |
|
1 | 106 |
! |
107 |
||
108 |
trace:aBlock on:aStream |
|
109 |
self trace:aBlock with:[:where | where printString printOn:aStream. |
|
159 | 110 |
aStream cr] |
1 | 111 |
! |
112 |
||
113 |
trace:aBlock with:aTraceBlock |
|
114 |
|aDebugger| |
|
115 |
||
116 |
aDebugger := self new tracingWith:aTraceBlock. |
|
241 | 117 |
ObjectMemory stepInterruptHandler:aDebugger. |
1 | 118 |
ObjectMemory flushInlineCaches. |
241 | 119 |
StepInterruptPending := 1. |
120 |
InterruptPending := 1. |
|
1 | 121 |
aBlock value. |
2 | 122 |
ObjectMemory stepInterruptHandler:nil. |
1 | 123 |
StepInterruptPending := nil. |
124 |
^ nil |
|
125 |
! ! |
|
126 |
||
618 | 127 |
!MiniDebugger methodsFor:'initialization'! |
1 | 128 |
|
129 |
initialize |
|
130 |
traceBlock := nil. |
|
131 |
tracing := false. |
|
132 |
stepping := false |
|
133 |
! ! |
|
134 |
||
618 | 135 |
!MiniDebugger methodsFor:'interrupt handling'! |
1 | 136 |
|
137 |
enter |
|
159 | 138 |
|leaveCmd stillHere| |
74 | 139 |
|
140 |
stillHere := true. |
|
141 |
[stillHere] whileTrue:[ |
|
159 | 142 |
leaveCmd := self commandLoop. |
1 | 143 |
|
159 | 144 |
(leaveCmd == $s) ifTrue: [ |
145 |
self stepping. |
|
146 |
ObjectMemory flushInlineCaches. |
|
147 |
ObjectMemory stepInterruptHandler:self. |
|
148 |
stillHere := false. |
|
241 | 149 |
StepInterruptPending := 1. |
150 |
InterruptPending := 1 |
|
159 | 151 |
]. |
152 |
(leaveCmd == $t) ifTrue: [ |
|
153 |
traceBlock := [:where | where fullPrint]. |
|
154 |
ObjectMemory flushInlineCaches. |
|
155 |
ObjectMemory stepInterruptHandler:self. |
|
156 |
stillHere := false. |
|
241 | 157 |
StepInterruptPending := 1. |
158 |
InterruptPending := 1 |
|
159 | 159 |
]. |
160 |
(leaveCmd == $c) ifTrue: [ |
|
161 |
stillHere := false. |
|
162 |
stepping := false. |
|
163 |
tracing := false. |
|
164 |
StepInterruptPending := nil. |
|
165 |
InterruptPending := nil |
|
166 |
]. |
|
167 |
(leaveCmd == $a) ifTrue: [ |
|
168 |
"abort" |
|
169 |
stepping := false. |
|
170 |
tracing := false. |
|
171 |
StepInterruptPending := nil. |
|
172 |
InterruptPending := nil. |
|
173 |
self doAbort. |
|
174 |
stillHere := true. |
|
175 |
"failed abort" |
|
176 |
]. |
|
1 | 177 |
]. |
178 |
^ nil |
|
618 | 179 |
! |
180 |
||
181 |
stepInterrupt |
|
182 |
|where| |
|
183 |
||
184 |
where := thisContext. "where is stepInterrupt context" |
|
185 |
where notNil ifTrue:[ |
|
1424 | 186 |
where := where sender "where is now interrupted methods context" |
618 | 187 |
]. |
188 |
stepping ifTrue:[ |
|
1424 | 189 |
where notNil ifTrue:[ |
190 |
where fullPrint |
|
191 |
] ifFalse:[ |
|
192 |
'stepInterrupt: no context' errorPrintCR |
|
193 |
]. |
|
194 |
self enter |
|
618 | 195 |
] ifFalse:[ |
1424 | 196 |
where notNil ifTrue:[ |
197 |
traceBlock notNil ifTrue:[ |
|
198 |
traceBlock value:where |
|
199 |
] |
|
200 |
] ifFalse:[ |
|
201 |
'traceInterrupt: no context' errorPrintCR |
|
202 |
]. |
|
203 |
ObjectMemory flushInlineCaches. |
|
204 |
StepInterruptPending := 1. |
|
205 |
InterruptPending := 1 |
|
618 | 206 |
] |
1424 | 207 |
|
208 |
"Modified: 20.5.1996 / 10:23:11 / cg" |
|
1 | 209 |
! ! |
210 |
||
618 | 211 |
!MiniDebugger methodsFor:'private'! |
74 | 212 |
|
618 | 213 |
findContext:aSelector |
214 |
|con| |
|
74 | 215 |
|
618 | 216 |
con := thisContext sender. |
217 |
[con notNil] whileTrue:[ |
|
218 |
(con isBlockContext not and:[con selector == aSelector]) ifTrue:[ |
|
219 |
"got it" |
|
220 |
^ con |
|
221 |
]. |
|
222 |
con := con sender |
|
74 | 223 |
]. |
618 | 224 |
^ nil |
74 | 225 |
! |
226 |
||
618 | 227 |
getContext |
228 |
|backtrace| |
|
229 |
backtrace := thisContext. |
|
230 |
(backtrace notNil) ifTrue: [ |
|
231 |
"remove Context getContext frame" |
|
232 |
backtrace := backtrace sender. |
|
233 |
"remove Debugger showContext frame" |
|
234 |
backtrace := backtrace sender. |
|
235 |
"remove Debugger commandLoop frame" |
|
236 |
backtrace := backtrace sender. |
|
237 |
"remove Debugger enter frame" |
|
238 |
backtrace := backtrace sender |
|
239 |
]. |
|
240 |
^ backtrace |
|
241 |
! |
|
74 | 242 |
|
618 | 243 |
stepping |
244 |
traceBlock := nil. |
|
245 |
tracing := false. |
|
246 |
stepping := true |
|
74 | 247 |
! |
248 |
||
618 | 249 |
tracingWith:aBlockOrNil |
250 |
traceBlock := aBlockOrNil. |
|
251 |
stepping := false. |
|
252 |
tracing := true |
|
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
253 |
! |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
254 |
|
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
255 |
printBacktraceFrom:aContext |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
256 |
aContext notNil ifTrue:[ |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
257 |
aContext fullPrintAll |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
258 |
] ifFalse:[ |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
259 |
'no context' errorPrintCR |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
260 |
] |
618 | 261 |
! ! |
262 |
||
263 |
!MiniDebugger methodsFor:'user commands'! |
|
264 |
||
1 | 265 |
commandLoop |
266 |
|cmd done valid context| |
|
267 |
||
268 |
done := false. |
|
269 |
[done] whileFalse:[ |
|
1424 | 270 |
valid := false. |
271 |
cmd := self getCommand. |
|
272 |
(cmd == $p) ifTrue:[ |
|
273 |
valid := true. |
|
274 |
context isNil ifTrue: [ |
|
275 |
context := self getContext |
|
276 |
]. |
|
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
277 |
self printBacktraceFrom:context |
1424 | 278 |
]. |
279 |
(cmd == $b) ifTrue:[ |
|
280 |
valid := true. |
|
281 |
Smalltalk printStackBacktrace |
|
282 |
]. |
|
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
283 |
(cmd == $B) ifTrue:[ |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
284 |
valid := true. |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
285 |
self printAllBacktraces |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
286 |
]. |
1424 | 287 |
(cmd == $P) ifTrue:[ |
288 |
valid := true. |
|
289 |
self showProcesses. |
|
290 |
]. |
|
291 |
(cmd == $r) ifTrue:[ |
|
292 |
valid := true. |
|
293 |
context isNil ifTrue: [ |
|
294 |
context := self getContext |
|
295 |
]. |
|
296 |
context notNil ifTrue:[ |
|
297 |
"remove Debugger stepinterrupt/halt frame" |
|
298 |
context sender receiver printCR |
|
299 |
] ifFalse:[ |
|
300 |
'no context - dont know receiver' errorPrintCR |
|
301 |
] |
|
302 |
]. |
|
303 |
(cmd == $R) ifTrue:[ |
|
304 |
valid := true. |
|
305 |
context isNil ifTrue: [ |
|
306 |
context := self getContext |
|
307 |
]. |
|
308 |
context notNil ifTrue:[ |
|
309 |
"remove Debugger stepinterrupt/halt frame" |
|
310 |
context sender receiver storeOn:Stdout |
|
311 |
] ifFalse:[ |
|
312 |
'no context - dont know receiver' errorPrintCR |
|
313 |
] |
|
314 |
]. |
|
315 |
(cmd == $i) ifTrue:[ |
|
316 |
valid := true. |
|
317 |
context isNil ifTrue: [ |
|
318 |
context := self getContext |
|
319 |
]. |
|
320 |
context notNil ifTrue:[ |
|
321 |
"remove Debugger stepinterrupt/halt frame" |
|
322 |
MiniInspector openOn:(context sender receiver) |
|
323 |
] ifFalse:[ |
|
324 |
'no context - dont know receiver' errorPrintCR |
|
325 |
] |
|
326 |
]. |
|
327 |
(cmd == $I) ifTrue:[ |
|
328 |
valid := true. |
|
329 |
context isNil ifTrue: [ |
|
330 |
context := self getContext |
|
331 |
]. |
|
216 | 332 |
"/ context notNil ifTrue:[ |
333 |
"/ "remove Debugger stepinterrupt/halt frame" |
|
334 |
"/ self interpreterLoopWith:(context sender receiver) |
|
335 |
"/ ] ifFalse:[ |
|
1424 | 336 |
"/ 'no context - dont know receiver' errorPrintCR. |
337 |
self interpreterLoopWith:nil |
|
216 | 338 |
"/ ] |
1424 | 339 |
]. |
340 |
context := nil. |
|
341 |
(cmd == $c) ifTrue:[valid := true. done := true]. |
|
342 |
(cmd == $s) ifTrue:[valid := true. done := true]. |
|
343 |
(cmd == $t) ifTrue:[valid := true. done := true]. |
|
344 |
(cmd == $a) ifTrue:[valid := true. done := true]. |
|
345 |
(cmd == $T) ifTrue:[valid := true. Processor terminateActive]. |
|
346 |
(cmd == $Q) ifTrue:[valid := true. Processor terminateActiveNoSignal]. |
|
347 |
(cmd == $U) ifTrue:[MessageTracer unwrapAllMethods]. |
|
348 |
(cmd == $X) ifTrue:[Smalltalk fatalAbort]. |
|
349 |
(cmd == $x) ifTrue:[OperatingSystem exit]. |
|
350 |
valid ifFalse: [ |
|
351 |
'valid commands: |
|
74 | 352 |
(c)ontinue |
353 |
(s)tep |
|
216 | 354 |
(t)race (continue with trace) |
355 |
(p)rint context chain |
|
940 | 356 |
(b)full backtrace |
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
357 |
(B)backtrace of all other processes |
93 | 358 |
(r)eceiver printString |
359 |
(R)eceiver storeString |
|
216 | 360 |
(i)nspect (enter inspector on receiver) |
361 |
(I)nterpreter (expression evaluator) |
|
362 |
(a)bort (raise abort signal) |
|
363 |
(P)rocess list |
|
93 | 364 |
(T)terminate current process |
159 | 365 |
(Q)uick terminate current process (no unwinds) |
360 | 366 |
(U)nwrap all traced/breakpointed methods |
74 | 367 |
(X)exit (+core) |
1424 | 368 |
(x)exit Smalltalk' errorPrintCR |
369 |
] |
|
1 | 370 |
]. |
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
371 |
context := nil. |
1 | 372 |
^ cmd |
1424 | 373 |
|
374 |
"Modified: 20.5.1996 / 10:22:50 / cg" |
|
1 | 375 |
! |
376 |
||
618 | 377 |
doAbort |
378 |
|con sig| |
|
379 |
||
380 |
(sig := Object abortSignal) isHandled ifTrue:[ |
|
1424 | 381 |
sig raise. |
382 |
'abort raise failed' errorPrintCR. |
|
618 | 383 |
]. |
384 |
||
385 |
"TEMPORARY kludge - find event handler context |
|
386 |
this will be removed, once real debugging is possible |
|
387 |
" |
|
388 |
con := self findContext:#processEvent. |
|
389 |
con isNil ifTrue:[ |
|
1424 | 390 |
con := self findContext:#dispatch. |
618 | 391 |
]. |
392 |
con notNil ifTrue:[ |
|
1424 | 393 |
"got it" |
394 |
con return. |
|
395 |
'return failed' errorPrintCR. |
|
618 | 396 |
]. |
397 |
||
1424 | 398 |
'found no context to resume' errorPrintCR. |
399 |
||
400 |
"Modified: 20.5.1996 / 10:23:00 / cg" |
|
618 | 401 |
! |
402 |
||
1 | 403 |
getCommand |
404 |
|cmd c| |
|
93 | 405 |
|
852
5c4a0585ba0b
ungrab pointer for every input
Claus Gittinger <cg@exept.de>
parents:
720
diff
changeset
|
406 |
Display notNil ifTrue:[ |
976 | 407 |
Display ungrabPointer. |
408 |
Display ungrabKeyboard. |
|
852
5c4a0585ba0b
ungrab pointer for every input
Claus Gittinger <cg@exept.de>
parents:
720
diff
changeset
|
409 |
]. |
5c4a0585ba0b
ungrab pointer for every input
Claus Gittinger <cg@exept.de>
parents:
720
diff
changeset
|
410 |
|
1 | 411 |
'MiniDebugger> ' print. |
93 | 412 |
|
976 | 413 |
UserInterruptSignal handle:[:ex | |
414 |
ex restart |
|
159 | 415 |
] do:[ |
976 | 416 |
cmd := Character fromUser. |
417 |
cmd isNil ifTrue:[ |
|
418 |
" |
|
419 |
mhmh end-of-file; |
|
420 |
return a 'c' (for continue); hope thats ok. |
|
421 |
" |
|
422 |
cmd := $c |
|
423 |
]. |
|
93 | 424 |
|
976 | 425 |
" |
426 |
ignore to end-of-line |
|
427 |
" |
|
428 |
c := cmd. |
|
429 |
[c isNil or:[c isEndOfLineCharacter]] whileFalse: [ |
|
430 |
c := Character fromUser. |
|
431 |
]. |
|
1 | 432 |
]. |
433 |
^ cmd |
|
976 | 434 |
|
435 |
"Modified: 20.2.1996 / 20:24:13 / cg" |
|
1 | 436 |
! |
437 |
||
438 |
interpreterLoopWith:anObject |
|
439 |
|line done| |
|
1424 | 440 |
'read-eval-print loop; exit with empty line' printCR. |
1 | 441 |
done := false. |
442 |
[done] whileFalse:[ |
|
1424 | 443 |
line := Stdin nextLine. |
444 |
(line size == 0) ifTrue:[ |
|
445 |
done := true |
|
446 |
] ifFalse:[ |
|
447 |
(Compiler evaluate:line |
|
448 |
receiver:anObject |
|
449 |
notifying:nil) printCR |
|
450 |
] |
|
1 | 451 |
] |
1424 | 452 |
|
453 |
"Modified: 20.5.1996 / 10:27:29 / cg" |
|
618 | 454 |
! |
455 |
||
456 |
showProcesses |
|
457 |
|active| |
|
458 |
||
459 |
active := Processor activeProcess. |
|
1424 | 460 |
'current id=' print. active id print. ' name=' print. active name printCR. |
618 | 461 |
|
462 |
Process allInstancesDo:[:p | |
|
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
463 |
'proc id=' print. p id print. |
2118 | 464 |
' name=''' print. p name print. |
465 |
''' createdBy: ' print. p creatorId print. |
|
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
466 |
' state=' print. |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
467 |
p state print. |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
468 |
' prio=' print. p priority printCR. |
618 | 469 |
] |
1424 | 470 |
|
471 |
"Modified: 20.5.1996 / 10:28:25 / cg" |
|
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
472 |
! |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
473 |
|
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
474 |
printAllBacktraces |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
475 |
Process allInstancesDo:[:p | |
2115 | 476 |
(p ~~ Processor activeProcess |
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
477 |
and:[p isDead not]) ifTrue:[ |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
478 |
'---------------------------------------------------------' printCR. |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
479 |
' proc id=' print. p id print. |
2118 | 480 |
' name=''' print. p name print. |
481 |
''' createdBy: ' print. p creatorId print. |
|
482 |
' state=' print. p state print. |
|
2113
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
483 |
' prio=' print. p priority printCR. |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
484 |
'' printCR. '' printCR. |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
485 |
|
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
486 |
self printBacktraceFrom:(p suspendedContext) |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
487 |
] |
6a310e15ad58
added print-other-stacks command
Claus Gittinger <cg@exept.de>
parents:
1424
diff
changeset
|
488 |
] |
1 | 489 |
! ! |
618 | 490 |
|
658 | 491 |
!MiniDebugger class methodsFor:'documentation'! |
492 |
||
493 |
version |
|
2118 | 494 |
^ '$Header: /cvs/stx/stx/libbasic/Attic/MiniDebug.st,v 1.30 1997-01-10 11:21:02 cg Exp $' |
658 | 495 |
! ! |