Chapter 3. BUILDING A WINDOWS DEBUGGER

Now that we have covered the basics, it's time to implement what you've learned into a real working debugger. When Microsoft developed Windows, it added an amazing array of debugging functions to assist developers and quality assurance professionals. We will heavily utilize these functions to create our own pure Python debugger. An important thing to note here is that we are essentially performing an in-depth study of Pedram Amini's PyDbg, as it is the cleanest Windows Python debugger implementation currently available. With Pedram's blessing, I am keeping the source as close as possible (function names, variables, etc.) to PyDbg so that you can transition easily from your own debugger to PyDbg.

Debuggee, ...

Get Gray Hat Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.