[Pharo-dev] [Debugger] Is "run to here" broken?

Henrik Sperre Johansen henrik.s.johansen at veloxit.no
Thu Nov 16 04:06:29 EST 2017


Thomas Dupriez wrote
> While working on writing a test, I discovered that just using 
> stepThrough instead of stepOver may not be the definitive solution.
> 
> # Example1: When using the `value` message directly (instead of calling 
> a method that does that as in my previous example), the RunToHere moves 
> the debugSession to the `value` message and not the inside of the block.

It's a good compromise though, anything more involved, and you quickly run
into problems if the point you want to "run to", is in a branch not taken.

Cheers,
Henry



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html




More information about the Pharo-dev mailing list