in the debugger:

stepToSendOrReturn
"Simulate the execution of bytecodes until either sending a message or
returning a value to the receiver (that is, until switching contexts)."

| context |
[ self willSend or: [  self willReturn or: [ self willStore ] ] ]
whileFalse: [
context := self step.
context == self ifFalse: [
self halt.  "<========================= THIS"
"Caused by mustBeBoolean handling"
^context ]]


so... the halt is ok there?

cheers,
Esteban

Reply via email to