|Anonymous | Login||08-12-2020 22:21 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0001633||[Squeak] Tools||minor||always||08-08-05 22:06||08-08-05 22:11|
|Summary||0001633: [ENH] Debugger showing objects on the stack|
Simple change to show objects on the stack in debugger's temp vars pane
(named _stack1, _stack2 ... etc). Not perfect but works ok, useful to
inspect e.g. result of a message send
'From Squeak3.6 of ''6 October 2003'' [latest update: 0005424] on 26 September 2004 at 11:47:50 pm'!
"Change Set: DebuggerShowStackObjects
Date: 26 September 2004
Author: Radoslav Hodnicak
Simple change to show objects on the stack in debugger's temp vars pane (named _stack1, _stack2 ... etc). Not perfect but works ok, useful to inspect e.g. result of a message send"!
!ContextVariablesInspector methodsFor: 'accessing' stamp: 'rh 9/26/2004 01:00'!
"Refer to the comment in Inspector|fieldList."
| list |
object == nil ifTrue: [^Array with: 'thisContext'].
list := (OrderedCollection with: 'thisContext' with: 'all temp vars') , object tempNames.
1 to: object stackPtr - object method numTemps do: [:i| list add: '_stack', i printString].
!ContextVariablesInspector methodsFor: 'updating' stamp: 'rh 9/26/2004 01:11'!
self changed: #fieldList.
selectionIndex > self fieldList size ifTrue: [selectionIndex := self fieldList size].
super update.! !"
|Attached Files||DebuggerShowStackObjects-rh.cs.gz [^] (569 bytes) 08-08-05 22:11|
(0002212 - 382 - 451 - 451 - 451 - 451 - 451)
"I don't think this originally came in as an attachment so I've added it
(assuming this is helpful).
I've always wanted this feature and it's useful for me. I don't know
too much about the debugger but it seems to be a small and local change.
I've tested it on various expressions and it seems to work."
(0002213 - 74 - 74 - 74 - 74 - 74 - 74)
|I loaded this into 3.8-6665-basic without errors but did not test further.|
|08-08-05 22:06||KenCausey||New Issue|
|08-08-05 22:07||KenCausey||Reporter||KenCausey => rh|
|08-08-05 22:09||KenCausey||Note Added: 0002212|
|08-08-05 22:11||KenCausey||File Added: DebuggerShowStackObjects-rh.cs.gz|
|08-08-05 22:11||KenCausey||Note Added: 0002213|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
40 total queries executed.|
31 unique queries executed.