Concept of native code stepper, version 0.4
Hi! I pushed much more advanced version of stepper. Changes: - bugs are fixed, works more or less reliably - stepping commands are step-over, step-into and continue, they are bound to keyboard. - shows lisp source as you step - can step out of the function where stepping begun - can switch into stepping mode from calls to (break), (cerror) and trace with break - also can step function explicitly with native-code-stepper:! function Note that stepper _does_not_ recreate a function behind a scene as Lispworks IDE stepper does. So no dependency on compilation context. Also it is inherently integrated with (and based upon) other debugging facilities of IDE, in contrast to Lispworks IDE stepper. http://code.google.com/p/def-symbol-readmacro/source/browse/experiments/hack-debugger/native-code-stepper.lisp The file is self-sufficient. It only requires 6.1 32-bit Windows Lispworks IDE (e.g. Personal Edition). Just compile, load and run tests (demos). Also, the stepper mostly bases on general features of CL debugger: (break) and "find source". So this code can be taken as a base for implementing debugger for any other CL implementation. It is still not a tool, just proof of concept. E.g. it can't step closures. WBR, Budden _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html