Welcome to MSDN Blogs Sign in | Join | Help

July 2004 - Posts

Customization of Just My Code (JMC)
Customization of JMC is something that we wanted to do, but ultimately got cut. We were planning to allow customization on a module basis, but we could have done it on a namespace basis. The downside of namespaces is performance. I believe that Java has Read More...
Is 'Just my Code' for you?
The debugger has a new feature this time around called 'Just my code'. This is a new-for-Whidbey managed debugging feature. Philosophy of Just my code: The basic idea is that when you debug an application, you want to debug the code in the application, Read More...
Windows XP SP2 and DCOM Callbacks
The DCOM and Firewall teams have done some great work in Windows XP SP2 at making things more secure. In my opinion, this was a great thing. Keep in mind that these changes have cost me two months of dev work, and already many support issues, so I think Read More...
Why I run as an Admin
For a long time now, security people have been advocating running as a non-administrator. I have tried this a few times myself, generally for about 10 minutes before I give up. On my home computer, I once changed my account and my wife’s account Read More...
Adding a function to the safeseh list
A long time ago, Matt Pietrek wrote a great article on compiler level structured exception handling. Since Matt’s article, the windows and VC linker team came up with a technology called safeseh. Chris Brumme talked about it here . Basically, dlls/exes Read More...
Fixing 'You do not have permissions to debug the server' errors
First, some background. The way we start ASP.NET debugging is to send a special request to ASP.NET over HTTP/HTTPS. The verb for this request is 'DEBUG'. If everything goes as planned, this allows VS to know what process to attach to. Displaying error Read More...
Using the Whidbey Beta 1 Debugger Today
Now that Whidbey beta 1 is out, people are probably sick of hearing about it. But I figured I would talk about one practical way to use Whidbey on your production code – use the new debugger. While you can't yet use a Whidbey compiler or the Whidbey Read More...
Debugger Type = Auto for C++ projects
We frequently get support calls due to breakpoints not being hit. There are lots of possible reasons why this can occur. Today I would like to talk about one of those – using the 'auto' debugger type. Here is the basic idea of how auto works: Open Read More...
Breaking when a module loads
We occasionally get requests for the ability to break when a module loads. WinDbg (the other debugger that Microsoft produces) exposes this as an exception (see the 'sx' command), although it isn't really an exception. Ideally, I think this should be Read More...
Page view tracker