=== Top of the Swiki === Attachments ===

FAQ: Breakpoints

Is it possible to set breakpoints or watch conditions in Squeak?

One normally simply inserts "self halt" where one wants a breakpoint. Similarly, for watch points one can use "aTestForWatchpoint ifTrue: [self halt]". This could certainly be set up to be "invisible" but it would make the code generated by a method not match the source code visible in the method.