debugging newlisp scripts

Q&A's, tips, howto's

debugging newlisp scripts

Postby ralph.ronnquist » Wed Jul 16, 2014 10:39 am

I'm fairly sure I'm not alone in having some one or two or even more than a few "teething problems" whenever I'm writing a new newlisp script. Or maybe I am, since I've been unable to find much to assist in this, and the built-in error messages are quite terse.

In any case, I've augmented my public collection of newlisp utilites with a "debug.lsp" module, at http://www.realthing.com.au/files/newlisp/debug.lsp.

It's is a batch oriented debugging facility to help in finding where the bug (the next bug) is by selective tracing. It thus helps in particular for the script loading and start up, and then a bit into the program logic; in particular helping to pin-point where the data type and nil versus () mistakes are when they turn up.
ralph.ronnquist
 
Posts: 208
Joined: Mon Jun 02, 2014 1:40 am
Location: Melbourne, Australia

Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 2 guests

cron