Hey, friends, Squeak is powerful, I knows that the Debugger in squeak played a central role, now I wanner to set a breakpoint in squeak code, should be self: halt, My problem is that
how can I quickly trace into the code-piece where I set an breakpoint?
Hey, friends, Squeak is powerful, I knows that the Debugger in squeak played a
Share
Answered by myself 🙂
Assume we have a suffix method add to String, and it is not a buggy method!
notice the line 7
self haltadded .we can also just edit the suspect code by inserting self halt.
When we run this method, the execution of the self halt will bring up the
pre-debugger, from where we can proceed, or go into the debugger and
look at variables, step the computation, and edit the code.