Call the debugger from a code location

From Cuis CookBook
Jump to navigation Jump to search

Problem. You think that some part of your method fooMethod require close inspection, you would like to open the debugger when the code reach the method or at some point inside the method.

Solution. This is an extremely useful procedure and it is very simple. Just add this to your method code where you want the debugger to open up.

self halt.