Flylib.com
List of Code Examples
Previous page
Table of content
Next page
Chapter 3: Debugging During Coding
Listing 3-1:
AssertTableExists
checks whether a table exists
Listing 3-2: Full assertion example
Listing 3-3:
BugslayerStackTrace
building a full stack trace with source and line information
Listing 3-4: Important methods of
ASPTraceListener
Listing 3-5: The main
ASSERT
macro
Listing 3-6: SUPERASSERT.CPP
Listing 3-7: Setting
TraceSwitch
flags in a configuration file
Chapter 4: Operating System Debugging Support and How Win32 Debuggers Work
Listing 4-1: MINDBG.CPP
Listing 4-2:
OutputDebugStringEvent
from PROCESSDEBUGEVENTS.CPP
Listing 4-3:
SetBreakpoint
from I386CPUHELP.C
Chapter 6: Advanced .NET Debugging with Visual Studio .NET
Listing 6-1: Conditional breakpoint modifier example
Listing 6-2: Mixed source and MSIL
Listing 6-3: HelloWorld.IL
Chapter 7: Advanced Native Code Techniques with Visual Studio .NET
Listing 7-1: EEAddIn export prototype and helper structure
Listing 7-2: EEAddIn example for
_OSVERSIONINFOA
Listing 7-3: Calling conventions example
Listing 7-4:
lstrcpyA
, a complete assembly language example
Chapter 8: Advanced Native Code Techniques with WinDBG
Listing 8-1: WinDBG
wt
output
Chapter 9: Extending the Visual Studio .NET IDE
Listing 9-1: DumpActiveDocCodeElements
Listing 9-2:
ProcessFunctionComment
from CommenTater.VB
Listing 9-3: Using VSNetToolHostShim
Listing 9-4: Getting and setting the fonts for an option property page
Listing 9-5: Visual Basic .NET SettingsMaster project for turning on incremental linking in a debug build and off in a release build
Listing 9-6: C# SettingsMaster project for turning on warning level 4 in a release build
Listing 9-7: Native C++ SettingsMaster project for turning on whole program optimizations in release builds
Listing 9-8: Native C++ SettingsMaster project to set the .DEF file in debug and release builds
Chapter 10: Managed Exception Monitoring
Listing 10-1:
GetClassAndMethodFromFunctionId
Listing 10-2: BeginInprocDebugging
Listing 10-3:
GetClassNameFromValueInterface
Chapter 11: Flow Tracing
Listing 11-1: Hook function example
Listing 11-2: A Default .FLS File
Chapter 12: Finding Source and Line Information with Just a Crash Address
Listing 12-1: Example MAP file
Listing 12-2: An abbreviated .P2M file
Listing 12-3: The
CCrashFinderDoc::LoadAndShowImage
function
Chapter 13: Crash Handlers
Listing 13-1: Example SEH handler
Listing 13-2: Example SEH handler with exception filter processing
Listing 13-3: C++ exception handler example
Listing 13-4: CRASHHANDLER.CPP
Listing 13-5:
SnapCurrentProcessMiniDump
and friends from MINIDUMP.CPP
Chapter 15: Multithreaded Deadlocks
Listing 15-1: DeadlockDetection output using TESTFILEDDEXT.DLL
Listing 15-2:
HookImportedFunctionsByNameA
from HOOKIMPORTEDFUNCTIONBYNAME.CPP
Listing 15-3: DD_FUNCS.H
Chapter 16: Automated Testing
Listing 16-1: MINIMAL.VBS showing how to use common Tester objects
Listing 16-2: HANDLERS.VBS showing how to use the
TNotify
object
Listing 16-3: TNOTIFYHLP.CPP
Listing 16-4:
CRecordingEngine::NormalKeyState
Chapter 17: The Debug C Run-Time Library and Memory Management
Listing 17-1: Setting up the DCRT and leaking memory
Listing 17-2: MEMDUMPERVALIDATOR.H
Listing 17-3: DUMP.CPP
Listing 17-4: CRTDBG_INTERNALS.H
Listing 17-5: HEAPER.CPP, a Windows heap corruption example
Listing 17-6:
/RTCx
custom error reporting
Chapter 19: Smoothing the Working Set
Listing 19-1: PENTERHOOK.CPP
Listing 19-2: FILEFORMAT.H
Listing 19-3: SWS symbol enumeration
Listing 19-4: The SWS tuning algorithm
Previous page
Table of content
Next page
Debugging Applications for MicrosoftВ® .NET and Microsoft WindowsВ® (Pro-Developer)
ISBN: 0735615365
EAN: 2147483647
Year: 2003
Pages: 177
Authors:
John Robbins
BUY ON AMAZON
Absolute Beginner[ap]s Guide to Project Management
Trends in Project Management
What Is Project Control?
What Is "Project Quality"?
Powerful Tools and Techniques for Project Quality
Ten Proven Principles of Vendor Management
Mastering Delphi 7
Working with Forms
The Architecture of Delphi Applications
Writing Delphi Components
Internet Programming: Sockets and Indy
Appendix C Free Companion Books on Delphi
Wireless Hacks: Tips & Tools for Building, Extending, and Securing Your Network
Hack 3. Connect Mac OS X with a Bluetooth Phone
Hack 7. Send SMS from a PowerBook
Hack 59. Scan for Wireless Networks Automatically
Section A.3. 802.11b: The De Facto Standard
Section A.7. 900 MHz: Low Speed, Better Coverage
The Lean Six Sigma Pocket Toolbook. A Quick Reference Guide to Nearly 100 Tools for Improving Process Quality, Speed, and Complexity
Working with Ideas
Value Stream Mapping and Process Flow Tools
Variation Analysis
Complexity Value Stream Mapping and Complexity Analysis
Selecting and Testing Solutions
Extending and Embedding PHP
Data Storage
Userspace Superglobals
Dealing with Errors
Summary
INI Settings
.NET-A Complete Development Cycle
The Photo Editor Application
The Refined Project Vision and Business Case
Conclusion
Three-Dimensional Rendering Technologies
Building the Web Application with ASP.NET
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies