Analysis, Architectural, Design, Implementation and Usage Debugging Patterns
This is another tracing example of unified debugging patterns introduced previously in Volume 6 (page 172).
• Analysis Patterns
Focus of Tracing (Volume 6, page 243)
• Architectural Patterns
Debug Event Subscription / Notification
• Design Patterns
Shared Debug Event State
• Implementation Patterns
Shared Variable
• Usage Patterns
Saving a memory address obtained at a breakpoint event in a debugger pseudo-register for use at later breakpoint events
Debugging TV100 published a case study for tracing window messages in WinDbg101. There a pseudo-register is used to save a buffer address before GetMessage call and then to reuse it after the call. Please look at Event State Management slide on Frames episode 0×06 presentation102. The full WinDbg log and the recording are available there too103.
101 http://www.youtube.com/watch?v=ACHO2pYngMw
102 http://www.debugging.tv/Frames/0x06/DebuggingTV_Frame_0x06.pdf
103 http://www.debugging.tv/Frames/0x06/DebuggingTV_Frame_0x06.txt