July 2004 - Posts
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...
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...
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...
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...
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...
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...
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...
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...
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...