Summary


This chapter was an overview of what debuggers do and how they do it. By learning about your tools, you're better able to maximize their usage. The core Win32 Debugging API was presented, and some of the supporting systems that debuggers use, such as the symbol engine, were covered. You also learned about some of the other debuggers—besides the Visual Studio .NET debugger—that are available. Finally, the WDBG example provided a complete debugger sample that illustrates exactly how debuggers work.

If you had never seen how debuggers operate at this level before, you might have thought that they were magical pieces of code. However, as you look through the code for WDBG, I think you'll agree that debuggers go through the same data grunt work that any software goes through. Previously, the biggest deficiency to overcome when writing a Win32 debugger was finding some way to handle local variables, parameters, and types. Fortunately, with the help of the DBGHELP.DLL symbol engine (and also the SymbolEngine library), we now have an excellent resource for writing debuggers or interesting diagnostic code that wasn't possible before.




Debugging Applications for Microsoft. NET and Microsoft Windows
Debugging Applications for MicrosoftВ® .NET and Microsoft WindowsВ® (Pro-Developer)
ISBN: 0735615365
EAN: 2147483647
Year: 2003
Pages: 177
Authors: John Robbins

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net