Chapter 7. Expert Debugging Tricks

In this chapter

Essential Tricks
More Useful Tricks
Kernel-Mode Debugging Tricks
Summary

After you begin using the debuggers in even moderately complex scenarios, you’ll quickly realize that you often need to accomplish a small set of fairly common tasks. You might want, for example, to know if there are additional processes that get created when executing your test scenario. You might also need to start them directly under the control of a debugger so that you can debug their startup code path. In other cases, you might have to wait for a specific dynamic-link library (DLL) module to get loaded before setting code breakpoints at a function that it hosts.

When I was learning user-mode debugging, I often found myself ...

Get Inside Windows® Debugging 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.