Status: Accepted
Owner: [hidden email] Labels: Type-Bug Importance-High New issue 5071 by [hidden email]: Debugger Broken http://code.google.com/p/pharo/issues/detail?id=5071 Pharo1.4a Latest update: #14251 When a debugger comes up, the context inspector does not show the correct variables (and trying to inspect/explore temps in the current method fail). Now the latest (after an emergency evaluator) is: 8 December 2011 1:23:33 am VM: Mac OS - intel - 1072 - CoInterpreter VMMaker-oscog-EstebanLorenzano.139 uuid: 5aa53979-d7d8-4ca3-91fe-cfc3b4109c33 Dec 4 2011, StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.139 uuid: 5aa53979-d7d8-4ca3-91fe-cfc3b4109c33 Dec 4 2011, https://git.gitorious.org/cogvm/blessed.git Commit: 4a65655f0e419248d09a2502ea13b6e787992691 Date: Sat Dec 3 22:00:58 2011 -0300 By: Esteban Lorenzano <[hidden email]> Image: Pharo1.4a [Latest update: #14251] Dictionary>>errorKeyNotFound: Receiver: a Dictionary((0 to: 2)->#(#('selector' 1)) ) Arguments and temporary variables: selector: 1 Receiver's instance variables: tally: 1 array: {nil. nil. (0 to: 2)->#(#('selector' 1)). nil. nil} [self errorKeyNotFound: key] in Dictionary>>at: Receiver: a Dictionary((0 to: 2)->#(#('selector' 1)) ) Arguments and temporary variables: <<error during printing> Receiver's instance variables: tally: 1 array: {nil. nil. (0 to: 2)->#(#('selector' 1)). nil. nil} Dictionary>>at:ifAbsent: Receiver: a Dictionary((0 to: 2)->#(#('selector' 1)) ) Arguments and temporary variables: selector: 1 Receiver's instance variables: tally: 1 array: {nil. nil. (0 to: 2)->#(#('selector' 1)). nil. nil} Dictionary>>at: Receiver: a Dictionary((0 to: 2)->#(#('selector' 1)) ) Arguments and temporary variables: selector: 1 Receiver's instance variables: tally: 1 array: {nil. nil. (0 to: 2)->#(#('selector' 1)). nil. nil} Array(SequenceableCollection)>>replaceFrom:to:with:startingAt: Receiver: #(#('selector' #(#outer 1)) nil) Arguments and temporary variables: selector: 2 Receiver's instance variables: #(#('selector' #(#outer 1)) nil) Array>>replaceFrom:to:with:startingAt: Receiver: #(#('selector' #(#outer 1)) nil) Arguments and temporary variables: selector: 2 Receiver's instance variables: #(#('selector' #(#outer 1)) nil) Array(SequenceableCollection)>>copyReplaceFrom:to:with: Receiver: #(#('selector' #(#outer 1))) Arguments and temporary variables: selector: 2 Receiver's instance variables: #(#('selector' #(#outer 1))) Array(SequenceableCollection)>>, Receiver: #(#('selector' #(#outer 1))) Arguments and temporary variables: selector: a Dictionary((0 to: 2)->#(#('selector' 1)) ) Receiver's instance variables: #(#('selector' #(#outer 1))) [| localRefs outerTemps | localRefs := blockExtentsToTempRefs at: (theContextsStartpcsToBlockExtents at: aContext startpc). aContext outerContext ifNil: [localRefs] ifNotNil: [:outer | outerTemps := (self privateTempRefsForContext: outer startpcsToBlockExtents: theContextsStartpcsToBlockExtents) collect: [:outerPair | localRefs detect: [:localPair | outerPair first = localPair first] ifNone: [{outerPair first. {#outer. outerPair last}}]]. outerTemps , (localRefs reject: [:localPair | outerTemps anySatisfy: [:outerPair | localPair first = outerPair first]])]] in DebuggerMethodMap>>privateTempRefsForContext:startpcsToBlockExtents: Receiver: a DebuggerMethodMap Arguments and temporary variables: <<error during printing> Receiver's instance variables: timestamp: 3500760097 methodReference: a WeakArray((Delay>>#wait "a CompiledMethod(762314752)")) methodNode: wait "Schedule this Delay, then wait on its semaphore. The curren...etc... abstractSourceRanges: a Dictionary(2->(165 to: 172) 4->(176 to: 196) 6->(192 to...etc... sortedSourceMap: {2->(165 to: 172). 4->(176 to: 196). 6->(192 to: 195). 7->(177...etc... blockExtentsToTempRefs: nil startpcsToTempRefs: nil [self at: key put: aBlock value] in Dictionary>>at:ifAbsentPut: Receiver: a Dictionary(13->#(#('selector' 1)) 17->#(#('selector' 1)) 21->#(#('selector' 1)) 25->#(#(...etc... Arguments and temporary variables: selector: 36 Receiver's instance variables: tally: 21 array: {nil. nil. 49->#(#('selector' 1)). nil. nil. nil. 53->#(#('selector' 1))...etc... Dictionary>>at:ifAbsent: Receiver: a Dictionary(13->#(#('selector' 1)) 17->#(#('selector' 1)) 21->#(#('selector' 1)) 25->#(#(...etc... Arguments and temporary variables: selector: 36 Receiver's instance variables: tally: 21 array: {nil. nil. 49->#(#('selector' 1)). nil. nil. nil. 53->#(#('selector' 1))...etc... Dictionary>>at:ifAbsentPut: Receiver: a Dictionary(13->#(#('selector' 1)) 17->#(#('selector' 1)) 21->#(#('selector' 1)) 25->#(#(...etc... Arguments and temporary variables: selector: 36 Receiver's instance variables: tally: 21 array: {nil. nil. 49->#(#('selector' 1)). nil. nil. nil. 53->#(#('selector' 1))...etc... DebuggerMethodMap>>privateTempRefsForContext:startpcsToBlockExtents: Receiver: a DebuggerMethodMap Arguments and temporary variables: <<error during printing> Receiver's instance variables: timestamp: 3500760097 methodReference: a WeakArray((Delay>>#wait "a CompiledMethod(762314752)")) methodNode: wait "Schedule this Delay, then wait on its semaphore. The curren...etc... abstractSourceRanges: a Dictionary(2->(165 to: 172) 4->(176 to: 196) 6->(192 to...etc... sortedSourceMap: {2->(165 to: 172). 4->(176 to: 196). 6->(192 to: 195). 7->(177...etc... blockExtentsToTempRefs: nil startpcsToTempRefs: nil DebuggerMethodMap>>tempNamesForContext: Receiver: a DebuggerMethodMap Arguments and temporary variables: <<error during printing> Receiver's instance variables: timestamp: 3500760097 methodReference: a WeakArray((Delay>>#wait "a CompiledMethod(762314752)")) methodNode: wait "Schedule this Delay, then wait on its semaphore. The curren...etc... abstractSourceRanges: a Dictionary(2->(165 to: 172) 4->(176 to: 196) 6->(192 to...etc... sortedSourceMap: {2->(165 to: 172). 4->(176 to: 196). 6->(192 to: 195). 7->(177...etc... blockExtentsToTempRefs: nil startpcsToTempRefs: nil MethodContext(ContextPart)>>tempNames Receiver: [delaySemaphore wait] in Delay>>wait Arguments and temporary variables: <<error during printing> Receiver's instance variables: sender: BlockClosure>>ifCurtailed: pc: 38 stackp: 1 method: (Delay>>#wait "a CompiledMethod(762314752)") closureOrNil: [delaySemaphore wait] receiver: a Delay(20 msecs) ContextVariablesInspector>>fieldList Receiver: a ContextVariablesInspector Arguments and temporary variables: selector: #('thisContext' 'stack top' 'all temp vars') Receiver's instance variables: contents: nil object: [delaySemaphore wait] in Delay>>wait selectionIndex: 0 timeOfLastListUpdate: nil selectionUpdateTime: nil fieldList: nil ContextVariablesInspector(Inspector)>>selectedSlotName Receiver: a ContextVariablesInspector Arguments and temporary variables: <<error during printing> Receiver's instance variables: contents: nil object: [delaySemaphore wait] in Delay>>wait selectionIndex: 0 timeOfLastListUpdate: nil selectionUpdateTime: nil fieldList: nil Debugger>>contextStackIndex:oldContextWas: Receiver: a Debugger Arguments and temporary variables: selector: 4 Receiver's instance variables: dependents: a DependentsArray(a SystemWindow(823132160) a PluggableMultiColumnL...etc... contents: a Text for 'wait "Schedule this Delay, then wait on its semaphore. T...etc... currentCompiledMethod: nil contentsSymbol: #source interruptedProcess: a Process in [delaySemaphore wait] in Delay>>wait interruptedController: nil contextStack: an OrderedCollection([delaySemaphore wait] in Delay>>wait BlockCl...etc... contextStackTop: [delaySemaphore wait] in Delay>>wait contextStackIndex: 4 contextStackList: an OrderedCollection('[delaySemaphore wait] in Delay>>wait' '...etc... receiverInspector: an Inspector contextVariablesInspector: a ContextVariablesInspector externalInterrupt: false proceedValue: nil selectingPC: true savedCursor: nil errorWasInUIProcess: false labelString: nil Debugger>>toggleContextStackIndex: Receiver: a Debugger Arguments and temporary variables: selector: 4 Receiver's instance variables: dependents: a DependentsArray(a SystemWindow(823132160) a PluggableMultiColumnL...etc... contents: a Text for 'wait "Schedule this Delay, then wait on its semaphore. T...etc... currentCompiledMethod: nil contentsSymbol: #source interruptedProcess: a Process in [delaySemaphore wait] in Delay>>wait interruptedController: nil contextStack: an OrderedCollection([delaySemaphore wait] in Delay>>wait BlockCl...etc... contextStackTop: [delaySemaphore wait] in Delay>>wait contextStackIndex: 4 contextStackList: an OrderedCollection('[delaySemaphore wait] in Delay>>wait' '...etc... receiverInspector: an Inspector contextVariablesInspector: a ContextVariablesInspector externalInterrupt: false proceedValue: nil selectingPC: true savedCursor: nil errorWasInUIProcess: false labelString: nil PluggableMultiColumnListMorph(PluggableListMorph)>>changeModelSelection: Receiver: a PluggableMultiColumnListMorph(916193280) Arguments and temporary variables: selector: 4 Receiver's instance variables: bounds: (103@101) corner: (693@266) owner: a SystemWindow(823132160) submorphs: an Array(a ScrollBar(915406848) a ScrollBar(947126272) a TransformMo...etc... fullBounds: (103@101) corner: (693@266) color: Color white extension: a MorphExtension (643563520) [locked] [other: (selectionColor -> (...etc... borderWidth: 1 borderColor: (Color r: 0.745 g: 0.745 b: 0.745) model: a Debugger open: false accessor: nil scrollBar: a ScrollBar(947126272) scroller: a TransformMorph(870055936) retractableScrollBar: false scrollBarOnLeft: false getMenuSelector: #contextStackMenu:shifted: getMenuTitleSelector: #messageListSelectorTitle hasFocus: false hScrollBar: a ScrollBar(915406848) list: an OrderedCollection(#('Block in Delay' 'wait') #('BlockClosure' 'ifCurta...etc... getListSelector: #contextStackList getListSizeSelector: nil getListElementSelector: nil getIndexSelector: #contextStackIndex setIndexSelector: #toggleContextStackIndex: keystrokeActionSelector: #contextStackKey:from: autoDeselect: true lastKeystrokeTime: 0 lastKeystrokes: '' doubleClickSelector: nil handlesBasicKeys: nil potentialDropRow: nil listMorph: a MulticolumnLazyListMorph(713818112) hScrollRangeCache: nil dragItemSelector: nil dropItemSelector: nil wantsDropSelector: nil wrapSelector: #createColumnsFor: searchedElement: nil multipleSelection: false dragOnOrOff: nil setSelectionListSelector: nil getSelectionListSelector: nil resetListSelector: nil keystrokeSelector: nil backgroundColoringBlockOrSelector: nil separatorBlockOrSelector: nil separatorSize: nil separatorColor: nil lastNonZeroIndex: nil gapSize: 40 PluggableMultiColumnListMorph(PluggableListMorph)>>mouseUpOnSingle: Receiver: a PluggableMultiColumnListMorph(916193280) Arguments and temporary variables: selector: [(342@211) mouseUp 239425 nil] Receiver's instance variables: bounds: (103@101) corner: (693@266) owner: a SystemWindow(823132160) submorphs: an Array(a ScrollBar(915406848) a ScrollBar(947126272) a TransformMo...etc... fullBounds: (103@101) corner: (693@266) color: Color white extension: a MorphExtension (643563520) [locked] [other: (selectionColor -> (...etc... borderWidth: 1 borderColor: (Color r: 0.745 g: 0.745 b: 0.745) model: a Debugger open: false accessor: nil scrollBar: a ScrollBar(947126272) scroller: a TransformMorph(870055936) retractableScrollBar: false scrollBarOnLeft: false getMenuSelector: #contextStackMenu:shifted: getMenuTitleSelector: #messageListSelectorTitle hasFocus: false hScrollBar: a ScrollBar(915406848) list: an OrderedCollection(#('Block in Delay' 'wait') #('BlockClosure' 'ifCurta...etc... getListSelector: #contextStackList getListSizeSelector: nil getListElementSelector: nil getIndexSelector: #contextStackIndex setIndexSelector: #toggleContextStackIndex: keystrokeActionSelector: #contextStackKey:from: autoDeselect: true lastKeystrokeTime: 0 lastKeystrokes: '' doubleClickSelector: nil handlesBasicKeys: nil potentialDropRow: nil listMorph: a MulticolumnLazyListMorph(713818112) hScrollRangeCache: nil dragItemSelector: nil dropItemSelector: nil wantsDropSelector: nil wrapSelector: #createColumnsFor: searchedElement: nil multipleSelection: false dragOnOrOff: nil setSelectionListSelector: nil getSelectionListSelector: nil resetListSelector: nil keystrokeSelector: nil backgroundColoringBlockOrSelector: nil separatorBlockOrSelector: nil separatorSize: nil separatorColor: nil lastNonZeroIndex: nil gapSize: 40 PluggableMultiColumnListMorph(PluggableListMorph)>>mouseUp: Receiver: a PluggableMultiColumnListMorph(916193280) Arguments and temporary variables: selector: [(342@211) mouseUp 239425 nil] Receiver's instance variables: bounds: (103@101) corner: (693@266) owner: a SystemWindow(823132160) submorphs: an Array(a ScrollBar(915406848) a ScrollBar(947126272) a TransformMo...etc... fullBounds: (103@101) corner: (693@266) color: Color white extension: a MorphExtension (643563520) [locked] [other: (selectionColor -> (...etc... borderWidth: 1 borderColor: (Color r: 0.745 g: 0.745 b: 0.745) model: a Debugger open: false accessor: nil scrollBar: a ScrollBar(947126272) scroller: a TransformMorph(870055936) retractableScrollBar: false scrollBarOnLeft: false getMenuSelector: #contextStackMenu:shifted: getMenuTitleSelector: #messageListSelectorTitle hasFocus: false hScrollBar: a ScrollBar(915406848) list: an OrderedCollection(#('Block in Delay' 'wait') #('BlockClosure' 'ifCurta...etc... getListSelector: #contextStackList getListSizeSelector: nil getListElementSelector: nil getIndexSelector: #contextStackIndex setIndexSelector: #toggleContextStackIndex: keystrokeActionSelector: #contextStackKey:from: autoDeselect: true lastKeystrokeTime: 0 lastKeystrokes: '' doubleClickSelector: nil handlesBasicKeys: nil potentialDropRow: nil listMorph: a MulticolumnLazyListMorph(713818112) hScrollRangeCache: nil dragItemSelector: nil dropItemSelector: nil wantsDropSelector: nil wrapSelector: #createColumnsFor: searchedElement: nil multipleSelection: false dragOnOrOff: nil setSelectionListSelector: nil getSelectionListSelector: nil resetListSelector: nil keystrokeSelector: nil backgroundColoringBlockOrSelector: nil separatorBlockOrSelector: nil separatorSize: nil separatorColor: nil lastNonZeroIndex: nil gapSize: 40 PluggableMultiColumnListMorph(Morph)>>handleMouseUp: Receiver: a PluggableMultiColumnListMorph(916193280) Arguments and temporary variables: selector: [(342@211) mouseUp 239425 nil] Receiver's instance variables: bounds: (103@101) corner: (693@266) owner: a SystemWindow(823132160) submorphs: an Array(a ScrollBar(915406848) a ScrollBar(947126272) a TransformMo...etc... fullBounds: (103@101) corner: (693@266) color: Color white extension: a MorphExtension (643563520) [locked] [other: (selectionColor -> (...etc... borderWidth: 1 borderColor: (Color r: 0.745 g: 0.745 b: 0.745) model: a Debugger open: false accessor: nil scrollBar: a ScrollBar(947126272) scroller: a TransformMorph(870055936) retractableScrollBar: false scrollBarOnLeft: false getMenuSelector: #contextStackMenu:shifted: getMenuTitleSelector: #messageListSelectorTitle hasFocus: false hScrollBar: a ScrollBar(915406848) list: an OrderedCollection(#('Block in Delay' 'wait') #('BlockClosure' 'ifCurta...etc... getListSelector: #contextStackList getListSizeSelector: nil getListElementSelector: nil getIndexSelector: #contextStackIndex setIndexSelector: #toggleContextStackIndex: keystrokeActionSelector: #contextStackKey:from: autoDeselect: true lastKeystrokeTime: 0 lastKeystrokes: '' doubleClickSelector: nil handlesBasicKeys: nil potentialDropRow: nil listMorph: a MulticolumnLazyListMorph(713818112) hScrollRangeCache: nil dragItemSelector: nil dropItemSelector: nil wantsDropSelector: nil wrapSelector: #createColumnsFor: searchedElement: nil multipleSelection: false dragOnOrOff: nil setSelectionListSelector: nil getSelectionListSelector: nil resetListSelector: nil keystrokeSelector: nil backgroundColoringBlockOrSelector: nil separatorBlockOrSelector: nil separatorSize: nil separatorColor: nil lastNonZeroIndex: nil gapSize: 40 _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Updates:
Status: Duplicate Mergedinto: 5069 Comment #1 on issue 5071 by [hidden email]: Debugger Broken http://code.google.com/p/pharo/issues/detail?id=5071 This was normally supposed to be fixed by Issue 5069 But somehow it did not work... I merge the report into that other and open it again. _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Free forum by Nabble | Edit this page |