Henrik apparently this is coming from this change but from - Issue 2617: Fix restart in blocks in debugger. Thanks Henrik Johanssen. I should have run the tests.... since this was introduced in 12075 (lazy me). Stef On Aug 3, 2010, at 7:00 PM, Stéphane Ducasse wrote:
Henrik
I integrated your value, value: cleans and I get such kind of error now. stackp = 2 and not zero. I'm puzzled. because I thought that the other code was not executed since it was covered by a primitive that would do the right job.
pushArgs: args "<Array>" from: sendr "<ContextPart>" "Helps simulate action of the value primitive for closures. This is used by ContextPart>>runSimulated:contextAtEachStep:"
stackp ~= 0 ifTrue: [self error: 'stack pointer should be zero!']. closureOrNil ifNil: [self error: 'context needs a closure!']. args do: [:arg| self push: arg]. 1 to: closureOrNil numCopiedValues do: [:i| self push: (closureOrNil copiedValueAt: i)]. sender := sendr _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project