July, 2004

  • greggm's WebLog

    Fixing 'You do not have permissions to debug the server' errors

    • 10 Comments
    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...
  • greggm's WebLog

    Breaking when a module loads

    • 6 Comments
    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...
  • greggm's WebLog

    Windows XP SP2 and DCOM Callbacks

    • 1 Comments
    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...
  • greggm's WebLog

    Is 'Just my Code' for you?

    • 10 Comments
    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...
  • greggm's WebLog

    Adding a function to the safeseh list

    • 0 Comments
    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...
  • greggm's WebLog

    Debugger Type = Auto for C++ projects

    • 5 Comments
    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: ...
  • greggm's WebLog

    Why I run as an Admin

    • 9 Comments
    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...
  • greggm's WebLog

    Customization of Just My Code (JMC)

    • 3 Comments
    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...
  • greggm's WebLog

    Using the Whidbey Beta 1 Debugger Today

    • 0 Comments
    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...
Page 1 of 1 (9 items)