It's simple: you need to know how to work with the bash shell if you want to get to the heart of Mac OS X, Linux, and other Unix systems. Updated for the most recent version of bash, this concise little book puts all of the essential information about bash at your fingertips. You'll quickly find ans
Advanced .NET debugging Description based on print version record. - Includes index
β Scribed by Hewardt, Mario;Dessud, Patrick(Foreword by)
- Publisher
- Addison-Wesley Professional
- Year
- 2009;2010
- Tongue
- English
- Leaves
- 543
- Series
- Addison-Wesley Microsoft technology series
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
"Mario Hewardt'sAdvanced .NET Debuggingis an excellent resource for both beginner and experienced developers working with .NET. The book is also packed with many debugging tips and discussions of CLR internals, which will benefit developers architecting software."-Jeffrey Richter, consultant, trainer, and author at Wintellect"Mario has done it again. HisAdvanced Windows Debugging(coauthored with Daniel Pravat) is an invaluable resource for native code debugging, andAdvanced .NET Debuggingachieves the same quality, clarity, and breadth to make it just as invaluable for .NET debugging."-Mark Russinovich, Technical Fellow, Microsoft CorporationThe Only Complete, Practical Guide to Fixing the Toughest .NET BugsAdvanced .NET Debuggingis the first focused, pragmatic guide to tracking down today's most complex and challenging .NET application bugs. It is the only book to focus entirely on using powerful native debugging tools, including WinDBG, NTSD, and CDB, to debug .NET applications. Using these tools, author Mario Hewardt explains how to identify the real root causes of problems--far more quickly than you ever could with other debuggers. Hewardt first introduces the key concepts needed to successfully use .NET's native debuggers. Next, he turns to sophisticated debugging techniques, using real-world examples that demonstrate many common C# programming errors. This book enables you to Make practical use of postmortem debugging, including PowerDBG and other "power tools" Understand the debugging details and implications of the new .NET CLR 4.0 Master and successfully use Debugging Tools for Windows, as well as SOS, SOSEX, CLR Profiler, and other powerful tools Gain a deeper, more practical understanding of CLR internals, such as examining thread-specific data, managed heap and garbage collector, interoperability layer, and .NET exceptions Solve difficult synchronization problems, managed heap problems, interoperability problems, and much more Generate and successfully analyze crash dumps A companion web site (advanceddotnetdebugging.com) contains all sample code, examples, and bonus content.
β¦ Table of Contents
Cover......Page 1
Contents......Page 10
Foreword......Page 20
Preface......Page 22
Acknowledgments......Page 32
About the Author......Page 34
PART I: OVERVIEW......Page 36
Debugging Tools for Windows......Page 38
.NET 2.0βRedistributable......Page 39
.NET 2.0βSDK......Page 40
SOS......Page 43
SOSEX......Page 45
CLR Profiler......Page 46
Performance Counters......Page 49
Reflector for .NET......Page 50
PowerDbg......Page 51
Managed Debugging Assistants......Page 53
Summary......Page 56
High-Level Overview......Page 58
CLR and the Windows Loader......Page 61
Application Domains......Page 68
Assembly Overview......Page 73
Assembly Manifest......Page 74
Type Metadata......Page 77
Summary......Page 103
The Debugger and the Debugger Target......Page 104
Symbols......Page 109
Controlling Execution......Page 112
Loading Managed Code Extensions......Page 120
Setting Breakpoints......Page 125
Object Inspection......Page 138
Thread Operations......Page 166
Code Inspection......Page 178
CLR Internals Commands......Page 181
Diagnostics Commands......Page 184
SOSEX Extension Commands......Page 186
Crash Dump Files......Page 198
Summary......Page 200
PART II: APPLIED DEBUGGING......Page 202
CLR Loader Overview......Page 204
Simple Assembly Load Failure......Page 214
Load Context Failure......Page 220
Interoperability and DllNotFoundException......Page 230
Debugging Light Weight Code Generation......Page 232
Summary......Page 237
Chapter 5: Managed Heap and Garbage Collection......Page 238
Windows Memory Architecture Overview......Page 239
Garbage Collector Internals......Page 248
Debugging Managed Heap Corruptions......Page 289
Debugging Managed Heap Fragmentation......Page 297
Debugging Out of Memory Exceptions......Page 307
Summary......Page 326
Synchronization Basics......Page 328
Thread Synchronization Primitives......Page 329
Synchronization Internals......Page 341
Synchronization Scenarios......Page 351
Summary......Page 379
Platform Invocation......Page 380
COM Interoperability......Page 387
Debugging P/Invoke Calls......Page 393
Debugging Interop Leaks......Page 408
Debugging COM Interop Finalization......Page 413
Summary......Page 423
PART III: ADVANCED TOPICS......Page 424
Chapter 8: Postmortem Debugging......Page 426
Dump File Fundamentals......Page 427
Windows Error Reporting......Page 444
Summary......Page 473
PowerDbg......Page 474
Visual Studio......Page 483
CLR Profiler......Page 495
WinDbg and the CmdTree Command......Page 502
Summary......Page 504
Tools......Page 506
Managed Heap and Garbage Collection......Page 507
Synchronization......Page 515
Interoperability......Page 518
Postmortem Debugging......Page 519
Summary......Page 520
B......Page 522
C......Page 523
D......Page 524
E......Page 526
F......Page 527
H......Page 528
K......Page 529
M......Page 530
O......Page 532
P......Page 533
R......Page 534
S......Page 535
T......Page 536
V......Page 537
X......Page 538
β¦ Subjects
Computer Science;Programming;Science;Technology;Technical
π SIMILAR VOLUMES
"WordPress is so flexible that developers are now tapping it to create robust applications for content, contact, and e-mail management. Whether you're a casual blogger or programming pro, this comprehensive guide covers WordPress from the basics through advanced application development. Learn how to
Objective C 2.0 is the object-oriented language that is the basis for Cocoa and Cocoa Touch, the development environment for the iPhone/iPod Touch. You'll learn all the basics: from handling data and creating functions to managing memory and handling exceptions. For programmers who want to develop i
A complete introduction for beginners to Sun's powerful JavaFX scripting languageJavaFX is a scripting language which provides built-in properties for manipulating objects within a 2D coordinate system. A competing technology to Microsoft's Silverlight, JavaFX provides the tools to fill and pen stro
The fast and easy way to ace your statics course Does the study of statics stress you out? Does just the thought of mechanics make you rigid? Thanks to this book, you can find balance in the study of this often-intimidating subject and ace even the most challenging university-level courses. Statics
Master the basics of data centers to build server farms that enhance your Web site performance<br /><br />Learn design guidelines that show how to deploy server farms in highly available and scalable environments Plan site performance capacity with discussions of server farm architectures and their