5 Debugging

5.4 Adding breakpoints

Sometimes, when tracking down a bug, you might want to be able to stop a computation whenever a particular function is called. The breakpoint manager is for just this purpose. It is invoked from the MLWorks podium with Break / Trace > Breakpoint Manager.

Figure 5.4 The MLWorks breakpoint manager.

The breakpoint manager allows you to specify a number of function names. Whenever one of these function names is called, MLWorks enters the stack browser. To specify a break point, type the function name into the text box and click Add Name followed by Apply. The function must have been compiled in debug mode for the breakpoint to take effect.


MLWorks User Guide (UNIX version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker