[Pharo-dev] is this ok?

Esteban Lorenzano estebanlm at gmail.com
Fri Nov 22 11:09:20 EST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131122/16a42671/attachment-0002.html>


More information about the Pharo-dev mailing list