handmade.network » Forums » Work-in-Progress » Windows Debugger
Nick Slivca
26 posts
1 project


#14672 Windows Debugger
3 weeks, 6 days ago Edited by Nick Slivca on March 24, 2018, 8:17 p.m. Reason: fixed download link

Hello folks! I am not sure if this is the right place to do this thing but here it goes.

Some time ago my debugger was here on the project list, but unfortunately I had to focus on other
things and project went under the water. Last October I finally got a chance to revive it and since
then I have managed to get debugger into a good shape. A lot of time was spent on making sure that current
set of features worked with all of the edge cases, like stepping though the exceptions, making sure that PDB parser
is compatible with recent versions of the MSVC C/C++ compilers, and so on. Also I have manged to
replace the DIA(Debug Interface Access) SDK that was used to read PDB files.
I knew from the start of the project that eventually I will have to replace that SDK, because
that is a huge black-box that was dragging the project down. I kid you not, but it took me same
amount of time to write my own parser as it took me to integrate that SDK. Microsoft never stops
to amaze! Next on the list was to replace the StackWalk64 from the dbghelp.dll which is 1mb in size,
and that is a lot code to keep around just for one call. To my surprise it is very easy to write a stack
unwinder for win64.

Last couple days I have spent on making sure that debugger works not only on my machine.
I have tested on three different setups and couple virtual boxes and it worked fine.
This means that any obvious mistakes were eliminated and it can be shared with others.
You can leave your feedback here in comments or just email me [email protected].

You can find a little demo that I have put together here on yotuube,
and link to download the standalone executable. Thank you.

Jeremiah Goerdt
192 posts
2 projects

Stay-at-home Dad, Programmer, and Linux apologist.

#14674 Windows Debugger
3 weeks, 5 days ago

Great demo!

What's on the list to do before this thing is shippable?

Build a man a fire, he'll be warm for a day.
Set a man on fire, he'll be warm for the rest of his life.
Nick Slivca
26 posts
1 project


#14676 Windows Debugger
3 weeks, 5 days ago

Thanks! Right now at the top of the list there are several things: data breakpoints, value editor for the inspector, and disassembler(right now it just dumps instructions).

69 posts
1 project

Some guy trying to make some video game.

#14702 Windows Debugger
3 weeks, 4 days ago

Wow that's sick, I'm definitely going to try it out.

On a side note, If Cdbg is coming back, shouldn't you update Cdbg's status on the project page? That way people can see the project is alive again and people can comment directly on your project forum.

I am working on Monter