r/Compilers • • Aug 01 '26

Any debugging advice / tools for compilers?

Tired of print statements everywhere. It very satisfactory to see one but I would much rather have something like lldb to easily debug the code more intuitively.

Are there any other useful tools?

16 Upvotes

15 comments sorted by

View all comments

Show parent comment

2

u/duane11583 Aug 01 '26

I have done this:

Cleanup is easy you create a debug directory and put all dump files in that directory

At start the tool erases the dir and makes a new one