I spend a lot of time debugging Dylan code. Up until now, this has been a somewhat painful process when not using the IDE on Windows. (And I don't really use the IDE on Windows as it doesn't fit well into my workflow.) I finally reached the point where I decided that I wanted to improve our debugger integration.
Much of what is described below may be applicable to people working on debugging support for other languages.
Current State of Dylan Debugging
We have a debugger on Windows integrated with our IDE. This facility is not available on the other platforms that we support. There are many reasons for this:
- The debug info that Open Dylan generates is only done on Windows.
- The debugger code for interacting with the OS is only implemented for Windows.
- The IDE itself is only available on Windows.
This means that debugging on Linux, FreeBSD and Mac OS X has traditionally been more challenging. We often resort to "printf debugging" and have some basic debug printing functions that can be invoked from the compiler so long as they don't crash. Debugging is really only effective with the C back-end as the HARP ...
There are comments.