[squeak-dev] The Inbox: Tools-lrnp.1148.mcz
Lauren Pullen
drurowin at gmail.com
Sun May 1 06:53:20 UTC 2022
See sample debug log attached. This error will freeze the image if the
user attempts to 'debug' it instead of close its pre-debug window.
On 5/1/22 06:40, commits at source.squeak.org wrote:
> A new version of Tools was added to project The Inbox:
> http://source.squeak.org/inbox/Tools-lrnp.1148.mcz
>
> ==================== Summary ====================
>
> Name: Tools-lrnp.1148
> Author: lrnp
> Time: 1 May 2022, 12:40:47.313878 am
> UUID: b8cdb799-5e16-45e0-8ef6-cb592ee14b37
> Ancestors: Tools-tpr.1146
>
> relax methodClass invariant for debuggers
>
> In order to permit inspecting contexts of methods belonging to deleted classes while refactoring, do not require that CompiledMethod has a methodClass for debugger inspectors.
>
> Resolves a masked MNU on #newParser in the debugger.
-------------- next part --------------
MessageNotUnderstood: UndefinedObject>>newParser
30 April 2022 11:04:57.843364 pm
VM: Mac OS - Smalltalk
Image: Squeak6.0alpha [latest update: #21674]
SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/lauren/env/vm
Trusted Dir /Users/lauren/env/vm/secure
Untrusted Dir /Users/lauren/env/vm/My Squeak
UndefinedObject(Object)>>doesNotUnderstand: #newParser
Receiver: nil
Arguments and temporary variables:
aMessage: newParser
exception: MessageNotUnderstood: UndefinedObject>>newParser
resumeValue: nil
Receiver's instance variables:
nil
[] in CompiledMethod>>methodNode
Receiver: (nil>>#build "a CompiledMethod(4118125)")
Arguments and temporary variables:
aClass: nil
source: a Text for 'build
| msg |
super build.
msg := target peekInstructi...etc...
Receiver's instance variables:
(nil>>#build "a CompiledMethod(4118125)")
FullBlockClosure(BlockClosure)>>on:do:
Receiver: [closure] in CompiledMethod>>methodNode
Arguments and temporary variables:
exceptionOrExceptionSet: SyntaxErrorNotification
handlerAction: [closure] in CompiledMethod>>methodNode
handlerActive: true
handlerRearmed: false
Receiver's instance variables:
outerContext: CompiledMethod>>methodNode
startpcOrMethod: ([] in CompiledMethod>>#methodNode "a CompiledBlock(1693339)")...etc...
numArgs: 0
receiver: (nil>>#build "a CompiledMethod(4118125)")
CompiledMethod>>methodNode
Receiver: (nil>>#build "a CompiledMethod(4118125)")
Arguments and temporary variables:
aClass: nil
source: a Text for 'build
| msg |
super build.
msg := target peekInstructi...etc...
Receiver's instance variables:
(nil>>#build "a CompiledMethod(4118125)")
[] in [] in DebuggerMethodMap class>>forMethod:
Receiver: DebuggerMethodMap
Arguments and temporary variables:
aMethod: (nil>>#build "a CompiledMethod(4118125)")
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#abstractSourceMap->(DebuggerMethodMap>>#abstrac...etc...
format: 65542
instanceVariables: #('timestamp' 'methodReference' 'methodNode' 'startKeysToBlo...etc...
organization: ('source mapping' abstractSourceMapForMethod: rangeForPC:in:contextIsActiveContext:...etc...
subclasses: {DebuggerMethodMapForClosureCompiledMethods}
name: #DebuggerMethodMap
classPool: a Dictionary(#AccessLock->a Mutex() #MapCache->a WeakIdentityKeyDictionary...etc...
sharedPools: nil
environment: Smalltalk
category: #'Tools-Debugger'
WeakIdentityKeyDictionary(Dictionary)>>at:ifAbsent:
Receiver: a WeakIdentityKeyDictionary((BlockClosure>>#on:do: "a CompiledMethod(3469091)")->a DebuggerMethodMapForFullBlockCompiledMethods...etc...
Arguments and temporary variables:
key: (nil>>#build "a CompiledMethod(4118125)")
aBlock: [closure] in [] in DebuggerMethodMap class>>forMethod:
Receiver's instance variables:
tally: 17
array: {nil . nil . nil . (TextEditor>>#evaluateSelection "a CompiledMethod(415...etc...
finalizer: nil
WeakIdentityKeyDictionary(WeakKeyDictionary)>>at:ifAbsent:
Receiver: a WeakIdentityKeyDictionary((BlockClosure>>#on:do: "a CompiledMethod(3469091)")->a DebuggerMethodMapForFullBlockCompiledMethods...etc...
Arguments and temporary variables:
key: (nil>>#build "a CompiledMethod(4118125)")
aBlock: [closure] in [] in DebuggerMethodMap class>>forMethod:
Receiver's instance variables:
tally: 17
array: {nil . nil . nil . (TextEditor>>#evaluateSelection "a CompiledMethod(415...etc...
finalizer: nil
[] in DebuggerMethodMap class>>forMethod:
Receiver: DebuggerMethodMap
Arguments and temporary variables:
aMethod: (nil>>#build "a CompiledMethod(4118125)")
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#abstractSourceMap->(DebuggerMethodMap>>#abstrac...etc...
format: 65542
instanceVariables: #('timestamp' 'methodReference' 'methodNode' 'startKeysToBlo...etc...
organization: ('source mapping' abstractSourceMapForMethod: rangeForPC:in:contextIsActiveContext:...etc...
subclasses: {DebuggerMethodMapForClosureCompiledMethods}
name: #DebuggerMethodMap
classPool: a Dictionary(#AccessLock->a Mutex() #MapCache->a WeakIdentityKeyDictionary...etc...
sharedPools: nil
environment: Smalltalk
category: #'Tools-Debugger'
FullBlockClosure(BlockClosure)>>ensure:
Receiver: [closure] in DebuggerMethodMap class>>forMethod:
Arguments and temporary variables:
aBlock: [closure] in Mutex>>critical:
complete: nil
returnValue: nil
Receiver's instance variables:
outerContext: DebuggerMethodMap class>>forMethod:
startpcOrMethod: ([] in DebuggerMethodMap class>>#forMethod: "a CompiledBlock(1...etc...
numArgs: 0
receiver: DebuggerMethodMap
Mutex>>critical:
Receiver: a Mutex()
Arguments and temporary variables:
aBlock: [closure] in DebuggerMethodMap class>>forMethod:
Receiver's instance variables:
firstLink: nil
lastLink: nil
owner: a Process(90188) in nil
DebuggerMethodMap class>>protected:
Receiver: DebuggerMethodMap
Arguments and temporary variables:
aBlock: [closure] in DebuggerMethodMap class>>forMethod:
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#abstractSourceMap->(DebuggerMethodMap>>#abstrac...etc...
format: 65542
instanceVariables: #('timestamp' 'methodReference' 'methodNode' 'startKeysToBlo...etc...
organization: ('source mapping' abstractSourceMapForMethod: rangeForPC:in:contextIsActiveContext:...etc...
subclasses: {DebuggerMethodMapForClosureCompiledMethods}
name: #DebuggerMethodMap
classPool: a Dictionary(#AccessLock->a Mutex() #MapCache->a WeakIdentityKeyDictionary...etc...
sharedPools: nil
environment: Smalltalk
category: #'Tools-Debugger'
DebuggerMethodMap class>>forMethod:
Receiver: DebuggerMethodMap
Arguments and temporary variables:
aMethod: (nil>>#build "a CompiledMethod(4118125)")
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#abstractSourceMap->(DebuggerMethodMap>>#abstrac...etc...
format: 65542
instanceVariables: #('timestamp' 'methodReference' 'methodNode' 'startKeysToBlo...etc...
organization: ('source mapping' abstractSourceMapForMethod: rangeForPC:in:contextIsActiveContext:...etc...
subclasses: {DebuggerMethodMapForClosureCompiledMethods}
name: #DebuggerMethodMap
classPool: a Dictionary(#AccessLock->a Mutex() #MapCache->a WeakIdentityKeyDictionary...etc...
sharedPools: nil
environment: Smalltalk
category: #'Tools-Debugger'
CompiledMethod>>debuggerMap
Receiver: (nil>>#build "a CompiledMethod(4118125)")
Arguments and temporary variables:
Receiver's instance variables:
(nil>>#build "a CompiledMethod(4118125)")
Context(InstructionStream)>>debuggerMap
Receiver: AnObsoleteContextNextInstructionTile(nil)>>build
Arguments and temporary variables:
Receiver's instance variables:
sender: UndefinedObject>>DoIt
pc: 70
stackp: 1
method: (nil>>#build "a CompiledMethod(4118125)")
closureOrNil: nil
receiver: an AnObsoleteContextNextInstructionTile(3115615)
Context>>tempsAndValuesContractedTo:
Receiver: AnObsoleteContextNextInstructionTile(nil)>>build
Arguments and temporary variables:
width: 64
Receiver's instance variables:
sender: UndefinedObject>>DoIt
pc: 70
stackp: 1
method: (nil>>#build "a CompiledMethod(4118125)")
closureOrNil: nil
receiver: an AnObsoleteContextNextInstructionTile(3115615)
[] in ContextVariablesInspector>>fieldAllTempVars
Receiver: a ContextVariablesInspector
Arguments and temporary variables:
object: AnObsoleteContextNextInstructionTile(nil)>>build
Receiver's instance variables:
dependents: a DependentsArray(a PluggableListMorphPlus(2219511) a PluggableTextMorphPlus...etc...
contents: a Text for '<An error occurred while inspecting this object. Click he...etc...
object: AnObsoleteContextNextInstructionTile(nil)>>build
context: nil
fields: {an InspectorField<#self> named 'thisContext' . an InspectorField<#all>...etc...
customFields: an OrderedCollection()
selectionIndex: 2
expression: nil
contentsTyped: nil
fieldListStyler: a SHTextStylerST80
shouldStyleValuePane: false
selectionUpdateTime: 0
InspectorField>>getValueFor:
Receiver: an InspectorField<#all> named 'all temp vars'
Arguments and temporary variables:
anInspector: a ContextVariablesInspector
Receiver's instance variables:
key: #allTempVars
valueGetter: [closure] in ContextVariablesInspector>>fieldAllTempVars
valueGetterExpression: nil
valueSetter: nil
valueSetterExpression: nil
name: a Text for 'all temp vars'
shouldStyleName: nil
shouldStyleValue: nil
shouldPrintValueAsIs: true
type: #all
inspector: nil
ContextVariablesInspector(Inspector)>>selection
Receiver: a ContextVariablesInspector
Arguments and temporary variables:
Receiver's instance variables:
dependents: a DependentsArray(a PluggableListMorphPlus(2219511) a PluggableTextMorphPlus...etc...
contents: a Text for '<An error occurred while inspecting this object. Click he...etc...
object: AnObsoleteContextNextInstructionTile(nil)>>build
context: nil
fields: {an InspectorField<#self> named 'thisContext' . an InspectorField<#all>...etc...
customFields: an OrderedCollection()
selectionIndex: 2
expression: nil
contentsTyped: nil
fieldListStyler: a SHTextStylerST80
shouldStyleValuePane: false
selectionUpdateTime: 0
[] in ContextVariablesInspector(Inspector)>>getContents
Receiver: a ContextVariablesInspector
Arguments and temporary variables:
newContents: nil
Receiver's instance variables:
dependents: a DependentsArray(a PluggableListMorphPlus(2219511) a PluggableTextMorphPlus...etc...
contents: a Text for '<An error occurred while inspecting this object. Click he...etc...
object: AnObsoleteContextNextInstructionTile(nil)>>build
context: nil
fields: {an InspectorField<#self> named 'thisContext' . an InspectorField<#all>...etc...
customFields: an OrderedCollection()
selectionIndex: 2
expression: nil
contentsTyped: nil
fieldListStyler: a SHTextStylerST80
shouldStyleValuePane: false
selectionUpdateTime: 0
--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #newParser
[] in CompiledMethod>>methodNode
FullBlockClosure(BlockClosure)>>on:do:
CompiledMethod>>methodNode
[] in [] in DebuggerMethodMap class>>forMethod:
WeakIdentityKeyDictionary(Dictionary)>>at:ifAbsent:
WeakIdentityKeyDictionary(WeakKeyDictionary)>>at:ifAbsent:
[] in DebuggerMethodMap class>>forMethod:
FullBlockClosure(BlockClosure)>>ensure:
Mutex>>critical:
DebuggerMethodMap class>>protected:
DebuggerMethodMap class>>forMethod:
CompiledMethod>>debuggerMap
Context(InstructionStream)>>debuggerMap
Context>>tempsAndValuesContractedTo:
[] in ContextVariablesInspector>>fieldAllTempVars
InspectorField>>getValueFor:
ContextVariablesInspector(Inspector)>>selection
[] in ContextVariablesInspector(Inspector)>>getContents
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Time class>>microsecondsToRun:
Time class>>millisecondsToRun:
FullBlockClosure(BlockClosure)>>timeToRun
ContextVariablesInspector(Inspector)>>getContents
[] in ContextVariablesInspector(Inspector)>>updateContentsSafely
PluggableTextAttribute>>actOnClickFor:
PluggableTextAttribute(TextAttribute)>>actOnClickFor:in:
PluggableTextAttribute(TextAttribute)>>actOnClickFor:in:at:
PluggableTextAttribute(TextAttribute)>>actOnClickFor:in:at:editor:
[] in [] in NewParagraph>>clickAt:for:controller:
Utilities class>>awaitMouseUpIn:whileMouseDownDo:whileMouseDownInsideDo:ifSucceed:
Utilities class>>awaitMouseUpIn:repeating:ifSucceed:
[] in NewParagraph>>clickAt:for:controller:
Array(SequenceableCollection)>>do:
NewParagraph>>clickAt:for:controller:
SmalltalkEditor(TextEditor)>>mouseDown:
[] in TextMorphForEditView(TextMorph)>>mouseDown:
TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
TextMorphForEditView>>handleInteraction:fromEvent:
TextMorphForEditView(TextMorph)>>mouseDown:
TextMorphForEditView>>mouseDown:
TextMorphForEditView(Morph)>>handleMouseDown:
MouseButtonEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:
[] in MorphicEventDispatcher>>dispatchMouseDown:with:
FullBlockClosure(BlockClosure)>>ensure:
MorphicEventDispatcher>>dispatchMouseDown:with:
MorphicEventDispatcher>>dispatchEvent:with:
TextMorphForEditView(Morph)>>processEvent:using:
TextMorphForEditView(Morph)>>processEvent:
[] in MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
Array(SequenceableCollection)>>do:
TransformMorph(Morph)>>submorphsDo:
MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:
[] in MorphicEventDispatcher>>dispatchMouseDown:with:
FullBlockClosure(BlockClosure)>>ensure:
MorphicEventDispatcher>>dispatchMouseDown:with:
MorphicEventDispatcher>>dispatchEvent:with:
TransformMorph(Morph)>>processEvent:using:
TransformMorph(Morph)>>processEvent:
-- and more not shown --
More information about the Squeak-dev
mailing list
|