Skip to content

Mini series on writing a source level debugger for microcontrollers (How to build a debugger)

So as you may have seen from the post on DWARF-2 debug_frame that I am building a debugger for a sub processor (RISC like instructions).

Throughout the process of trying to build the debugger, I have found that there are not a lot of information online on the history of debuggers and how to build them. The popular few are about using linux or windows provided capabilities like pTrace, /proc/ and DebugEngine.

I will be writing a small series on how to build a debugger from scratch, with focus on micro controllers and sub processors (my is for inside a GPU, hint hint).

Please checkout Eli Bendersky’s articles on debuggers and how they work. This is a fantastic set of blog posts.

Posted in Debugger. Tagged with .