[etoys-notify] [JIRA] Commented: (SQ-710) DecompileConstruktor>>codeMethod:block:tempVars:primitive:class:

Karl Ramberg (JIRA) tracker at squeakland.org
Mon Jun 7 15:26:08 EDT 2010


    [ http://tracker.squeakland.org/browse/SQ-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39260#action_39260 ] 

Karl Ramberg commented on SQ-710:
---------------------------------

June 2010 9:22:44 pm

VM: Win32 - a SmalltalkImage
Image: etoys4.1 [latest update: #2378 (repo v1165 of 6 June 2010)]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir C:\Documents and Settings\Karl\Skrivbord\Etoys-Dev-4.1.2374\Etoys
Trusted Dir C:\Documents and Settings\Karl\Skrivbord\Etoys-Dev-4.1.2374\.etoys
Untrusted Dir C:\Documents and Settings\Karl\Skrivbord\Etoys-Dev-4.1.2374\Etoys

UndefinedObject(Object)>>doesNotUnderstand: #precedence
	Receiver: nil
	Arguments and temporary variables: 
		aMessage: 	precedence
	Receiver's instance variables: 
nil

DecompilerConstructor>>codeMethod:block:tempVars:primitive:class:
	Receiver: {a DecompilerConstructor}
	Arguments and temporary variables: 
		selector: 	nil
		block: 	{[self beep: 'croak'.
	self setVar1: 3]}
		vars: 	#()
		primitive: 	0
		class: 	Player140
		selectorNode: 	{<key==nil>}
		methodNode: 	nil
		methodTemps: 	#()
		t: 	nil
	Receiver's instance variables: 
		comment: 	nil
		pc: 	nil
		rvr: 	nil
		myNode: 	nil
		blockType: 	nil
		isStatement: 	nil
		isTopStatement: 	nil
		messageType: 	nil
		receiverObject: 	nil
		isInTest: 	nil
		stmtChain: 	nil
		nodeInfoIn: 	nil
		nodeInfoOut: 	nil
		primaryBreedPair: 	nil
		statementType: 	nil
		rewriteInfoIn: 	nil
		rewriteInfoOut: 	nil
		xxxOccurences: 	nil
		method: 	a CompiledMethod (1678)
		instVars: 	#('dependents' 'costume' 'costumes' 'var1')
		nArgs: 	0
		literalValues: 	#(#beep: 'croak' #setVar1: 3 nil #Player140->Player140)
		tempVars: 	#()

Decompiler>>decompile:in:method:using:
	Receiver: a Decompiler
	Arguments and temporary variables: 
		aSelector: 	nil
		aClass: 	Player140
		aMethod: 	a CompiledMethod (1678)
		aConstructor: 	{a DecompilerConstructor}
		block: 	{[self beep: 'croak'.
	self setVar1: 3]}
	Receiver's instance variables: 
		sender: 	a CompiledMethod (1678)
		pc: 	38
		constructor: 	{a DecompilerConstructor}
		method: 	a CompiledMethod (1678)
		instVars: 	#(nil nil nil nil)
		tempVars: 	#()
		constTable: 	#({self} {true} {false} {nil} {-1} {0} {1} {2})
		stack: 	an OrderedCollection()
		statements: 	an OrderedCollection()
		lastPc: 	37
		exit: 	42
		caseExits: 	an OrderedCollection()
		lastJumpPc: 	37
		lastReturnPc: 	-1
		limit: 	38
		hasValue: 	false
		blockStackBase: 	nil

Decompiler>>decompile:in:method:
	Receiver: a Decompiler
	Arguments and temporary variables: 
		aSelector: 	nil
		aClass: 	Player140
		aMethod: 	a CompiledMethod (1678)
	Receiver's instance variables: 
		sender: 	a CompiledMethod (1678)
		pc: 	38
		constructor: 	{a DecompilerConstructor}
		method: 	a CompiledMethod (1678)
		instVars: 	#(nil nil nil nil)
		tempVars: 	#()
		constTable: 	#({self} {true} {false} {nil} {-1} {0} {1} {2})
		stack: 	an OrderedCollection()
		statements: 	an OrderedCollection()
		lastPc: 	37
		exit: 	42
		caseExits: 	an OrderedCollection()
		lastJumpPc: 	37
		lastReturnPc: 	-1
		limit: 	38
		hasValue: 	false
		blockStackBase: 	nil


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #precedence
DecompilerConstructor>>codeMethod:block:tempVars:primitive:class:
Decompiler>>decompile:in:method:using:
Decompiler>>decompile:in:method:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CompiledMethod>>decompileString
ScriptEditorMorph>>hasScriptReferencing:ofPlayer:
[] in Player140(Player)>>hasScriptReferencing:ofPlayer: {[:anEditor |  (anEditor hasScriptReferencing: slotName ofPlayer: aPlayer)   ...]}
OrderedCollection>>do:
Player140(Player)>>hasScriptReferencing:ofPlayer:
[] in Player140(Player)>>okayToRemoveSlotNamed: {[:aPlayer |  (aPlayer hasScriptReferencing: aSlotName ofPlayer: self)   ifTr...]}
Array(SequenceableCollection)>>do:
Player140(Player)>>okayToRemoveSlotNamed:
Player140(Player)>>basicRemoveSlotNamed:
Player140(Player)>>removeSlotNamed:
[] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) = 0   ifTrue: [target perform: selector] ...]}
BlockContext>>ensure:
CursorWithAlpha(Cursor)>>showWhile:
MenuItemMorph>>invokeWithEvent:
MenuItemMorph>>mouseUp:
MenuItemMorph>>handleMouseUp:
MouseButtonEvent>>sentTo:
MenuItemMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuItemMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
MenuMorph(Morph)>>processEvent:
MenuMorph>>handleFocusEvent:
...etc...


> DecompileConstruktor>>codeMethod:block:tempVars:primitive:class:
> ----------------------------------------------------------------
>
>                 Key: SQ-710
>                 URL: http://tracker.squeakland.org/browse/SQ-710
>             Project: squeakland
>          Issue Type: Bug
>          Components: etoys-linux
>            Reporter: Karl Ramberg
>             Fix For: etoys 2010
>
>
> Removing a instance variable from a viewer when the variable is part of a script is broken.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list