[Openmcl-devel] How to debug?
rpgoldman at sift.info
Fri Nov 16 11:43:37 CST 2012
The key debugging advantage of a language like CL offering a REPL, IMO,
is that you can get yourself into the debugger in a function, f, that is
not performing correctly, and then you can examine the local data of f
(including the arguments), and interact with the environment to see what
happens when the sub-forms of f are applied to the local data. So if,
e.g., f first calls g on arguments 1 and 2, and then does something with
the result, you can examine args 1 and 2, and interactively apply
g(arg(1), arg(2)) and inspect the results.
Note that this extends to *modifying* g() either to provide more
debugging information, or to apply a possible bug-fix, and then seeing
if the problem is fixed....
More information about the Openmcl-devel