pharo4Stef at free.fr
Thu Apr 3 13:41:41 EDT 2014
I need your brain cells.
When I execute the test
| context process debugger printedString |
context := [ 20 factorial ] asContext.
process := Process
priority: Processor userInterruptPriority.
debugger := Smalltalk tools debugger new
debugger stack expand.
self assert: debugger stack selectedIndex = 1.
printedString := OpalCompiler isActive
ifTrue: [ '[ 20 factorial ] in DebuggerTest>>testBasic']
ifFalse: [ '[...] in DebuggerTest>>testBasic' ].
self assert: debugger stack selectedItem printString = printedString.
self assert: debugger code getText = (Integer>>#factorial) sourceCode.
self assert: debugger stack selectedItem printString = 'SmallInteger(Integer)>>factorial'.
two times my image (latest get totally unusable).
I thought that may be the process should be terminated
so I added
But nothing changes. I tried to debug the code but not chance.
I tried self halt after [ 20 factorial ] asContext.
I tried to execute the beginning in a workspace and not as a test to eliminate problem.
But again no chance.
So did I miss something obvious?
More information about the Pharo-dev