Advanced Windows Debugging by Mario Hewardt, Daniel Pravat

By Mario Hewardt, Daniel Pravat

-- Bob Wilton, Escalation Engineer, severe challenge solution staff, Microsoft

“An first-class reference for either intermediate and complex debuggers: hugely functional, and choked with tips and techniques. This booklet stands proud from all different Win32 debugging literature, due to its in-depth examples–including resolving complicated difficulties like stack and heap corruptions.”

-- Kinshuman, improvement Lead, home windows center OS department, Microsoft

The First In-Depth, Real-World, Insider’s consultant to robust home windows Debugging

For home windows builders, few initiatives are more difficult than debugging–-or extra the most important. trustworthy and real looking information regarding home windows debugging has constantly been scarce. Now, with over 15 years of expertise of Microsoft’s system-level builders current an intensive and sensible consultant to home windows debugging ever written.

Mario Hewardt and Daniel Pravat conceal debugging in the course of the complete program lifecycle and express the best way to utilize the instruments at the moment available–-including Microsoft’s strong local debuggers and third-party suggestions.

that will help you locate actual strategies fast, this e-book is prepared round real-world debugging eventualities. Hewardt and Pravat use distinctive code examples to light up the advanced debugging demanding situations expert builders truly face. From middle home windows working method suggestions to protection, Windows® Vista™ and 64-bit debugging, they tackle rising issues head-on–and nothing is ever oversimplified or glossed over!

This e-book allows you to:
* grasp today’s strongest home windows debugging instruments, together with NTSD, CDB, WinDbg, KD, and ADPlus
* Debug code that wasn’t designed or written for simple debugging
* comprehend debuggers “under the hood,” and deal with symbols and resources efficiently
* Debug advanced reminiscence corruptions with regards to stacks and tons
* get to the bottom of complicated defense difficulties
* Debug throughout tactics: id monitoring, RPC debugger extensions, and monitoring IPCs with Ethereal
* locate and attach source leaks, equivalent to reminiscence and deal with leaks.
* Debug universal thread synchronization problems
* research whilst and the way to put in writing customized debugger extensions
* practice “postmortem debugging” utilizing crash dumps and home windows mistakes Reporting
* Automate debugging with DebugDiag and the examine Debugger command

Whether you’re a system-level or program developer, Advanced home windows Debugging promises the deep realizing of debugging which can prevent weeks in your very subsequent project.

Part I  Overview
bankruptcy 1 creation to the Tools
bankruptcy 2 advent to the Debuggers
bankruptcy three Debugger Uncovered
bankruptcy four coping with image and resource Files

Part II utilized Debugging
bankruptcy five reminiscence Corruptions half I – Stacks
bankruptcy 6 reminiscence Corruptions half I – Heaps
bankruptcy 7 Security
bankruptcy eight Inter-process Communication
bankruptcy nine source Leaks
bankruptcy 10 Synchronization

Part III complicated Topics
bankruptcy eleven Writing customized Debugger Extensions
bankruptcy 12 64-bit Debugging
bankruptcy thirteen Postmortem Debugging
bankruptcy 14 energy Tools
bankruptcy 15 home windows Vista Fundamentals
Appendix A software Verifier attempt Settings

If you love <u>Advanced home windows Debugging</u>, continue a watch out for  <u>ADVANCED .NET DEBUGGING</u> COMING IN NOV. 2009.

Show description

Read Online or Download Advanced Windows Debugging PDF

Similar technology books

Electric and Hybrid Vehicles: Power Sources, Models, Sustainability, Infrastructure and the Market

This multi-author, 670-page instruction manual offers info on replacement vehicular energy platforms, encompassing advances within the quickly evolving battery, hybrid and gas telephone expertise domain names. cars in keeping with those applied sciences are defined when it comes to functionality, gasoline economic system, environmental effect, power resources and prices, and are largely in comparison and contrasted to traditional autos.

The Universal Access Handbook (Human Factors and Ergonomics)

Lately, the sphere of common entry has made major growth in consolidating theoretical methods, medical equipment and applied sciences, in addition to in exploring new program domain names. more and more, execs during this speedily maturing region require a entire and multidisciplinary source that addresses present rules, equipment, and instruments.

Biosensors: an Introduction (Teubner Studienbücher Chemie) (German Edition)

Offers a scientific and finished advent to the elemental positive aspects of biosensors or sensors according to organic fabrics. It first discusses the kinds of organic fabrics used and the ways that they are often hooked up with a number of transducers to create the full biosensor. functionality features of a wide wide variety of biosensors are mentioned and info of crucial different types of biosensors presently used are provided.

Mathematical Technology of Networks: Bielefeld, December 2013 (Springer Proceedings in Mathematics & Statistics)

Dynamical versions on graphs or random graphs are more and more utilized in technologies as mathematical instruments to review complicated platforms whose particular constitution is simply too advanced to be recognized intimately. in addition to its value in technologies, the sector is more and more attracting the curiosity of mathematicians and theoretical physicists additionally due to the primary phenomena (synchronization, part transitions and so forth.

Extra info for Advanced Windows Debugging

Example text

Special for service writers sharing the same host image name, it is possible to specify a service name as a parameter: cdb –psn 2. INTRODUCTION TO THE DEBUGGERS Options: ... command to run under the debugger — equivalent to -G -g -o -p -1 -d -pd [ more] -p specifies the decimal process ID to attach to -pn specifies the name of the process to attach to -psn specifies the process to attach to by service name -pv specifies that any attach should be noninvasive -pvr specifies that any attach should be noninvasive and nonsuspending ...

3 usage: cdb [options] Although most options displayed by the command help are self-explanatory, we will stress a few helpful parameters to use when you are attaching the debugger to a running process. exe –p is the standard command used when the process identifier is known. exe –pn does an excellent job in finding its process identifier and attaching to it. exe’ process running. instance you are interested in and use -p . exe and use it as parameter for the cdb –p command.

Exe Tool used for memory leak detection. exe User mode and kernel mode debugger with a graphical user interface. Not surprisingly, the most important tool is the debugger itself. Chapter 2, “Introduction to the Debuggers,” and Chapter 3, “Debuggers Uncovered,” are dedicated to explaining how the debuggers work, how to set them up, and how to most effectively use them. The tools introduction in this chapter details the most interesting tools we use throughout the book. When the download point specifies ‘Part of Debugging tools for Windows’ for each tool, it is required that Debugging Tools for Windows be installed.

Download PDF sample

Rated 4.10 of 5 – based on 7 votes