Do you want to know how to get the exact version of the source file when live debugging or reading minidumps? My Bugslayer column, which was turned into an article, on Source Server has finally made it to the August 2006 issue of MSDN Magazine! They even kept my super cool title: Use the Source, Luke. <very big smile>.
Armed with Source Server, both WinDBG (native C++) and Visual Studio 2005 (native C++ and .NET) will automatically grab the correct version from your version control system so you never have to guess again. Microsoft has been using Source Server internally for a couple of years and it's a huge godsend. Now you'll know how to get it set up so you to can debug faster to get out of work earlier. No more wondering what the heck version of the source file you need. Also, no more playing games with the debugger to get it to load source files from a different location. Now everything works like you always thought it should!
The version of the Source Server tools I used hasn't been released yet by Microsoft. Keep an eye on the WinDBG download area as a new release is really, really close. Keep an eye on Wintellog as I'll let you know when it's up. Also, at the time I wrote the column/article, there was no support for Visual Studio Team System. However, we'll all be suprised in the upcoming WinDBG download.
As I've been screaming for years for everyone to get a Symbol Server set up, now there's one more thing for me to scream about!
On Jul 6 2006 3:55 PMBy jrobbins
I tried the solution suggested for getting around the "A macro called a debugger action which is not allowed while responding to an event or while being run because a breakpoint was hit" error. It did not work for me. It throws a different exception that is not handled and decouples my macro explorer from visual studio. I need to restart visual studio to get things working normally again. Did you try your friend's solution yourself? Did it work for you? The Exception it generates says: an unhandled exception ("System.Runtime.InteropServices.COMException") occurred in vsm.svr.exe[18780]. Thanks for your time, Mike.
We have this issue that some of the source files are not actually get copied on the PC while debugging. I suspect the max length problem with Windows. Although I have to say our source files path are not longer than 210 characters. Have you seen this before, and do you know how can I avoid such a situation?
Thanks,