Debugger QFE for VS 2008 SP1 released

The Visual Studio Debugger team has just released a QFE that fixes several problems with the debugger in VS 2008. This fixes several issues while debugging multi-threaded applications in both managed and native code as well as some issues with breakpoints. It can be downloaded at this location: http://code.msdn.microsoft.com/KB957912/Release/ProjectReleases.aspx?ReleaseId=1796    

3

Adding Stepping Support to a Debug Engine

One feature that is clearly missing from the current debug engine sample is stepping. The reason it is missing is it only requires one AD7 method to initiate the step and one AD7 event when the step is complete. However, the actual implementation of stepping is very complex and requires support from the underlying platform…

2

What to do if your debug engine doesn’t create real processes?

One thing we get a lot of reports about from people writing custom debug engines is if the engine is doing engine launch (using LaunchSuspended like the engine sample does) and the engine doesn’t launch a true win32 process, the debugger will fail the launch and not call ResumeProcess. This is a common scenario for…

0

Walkthrough3: Breakpoints and Stopping Events now available

I have uploaded another walkthrough for the new debug engine sample. This one explains breakpoints, breakpoint binding and stopping events in the sample engine. It is available along-side the other walkthroughs and the actual sample download at http://code.msdn.microsoft.com/debugenginesample  

6

SOS in Visual Studio Part 2

I found this old  blog post on my box today. I had never gotten around to posting it.Hopefully, this will be useful to someone.    In my last SOS post I promised to give a discussion on the CLR data structures you need to debug managed code with SOS. There is a great detailed article available here: http://msdn.microsoft.com/msdnmag/issues/05/05/JITCompiler/default.aspx which explains this…

2

VSIP Debug Engine Sample Walkthrough2

I have uploaded another walkthrough for the new debug engine sample. This one explains threads and modules in the sample engine, the AD7 events corresponding to them, and the objects that implement them. It is available along-side the other walkthroughs and the actual sample download at http://code.msdn.microsoft.com/debugenginesample  

2

Walkthrough1 now available for Debug Engine Sample

I have written a guided walkthrough for the new Debug Engine Sample available in VSIP. The walkthrough contains a high-level architecture description and a source code walkthrough of how the sample engnes launches debug processes. It demonstrates: launching the process and sending debug events. I plan on adding some more of these walkthroughs as I have…

2

New Debug Engine Sample!

I just released a new sample for writing a Visual Studio Debug Engine. The new engine sample is available at: https://code.msdn.microsoft.com/Visual-Studio-Debug-Engine-c2e21c0e This sample ships under the Microsoft Public License which means there is no warentee or support. Essentially, use of the sample is at your own risk. A debug engine is a component that plugs into…

2