• greggm's WebLog

    Clearing up confusion over the proposed crashdump cut

    • 7 Comments
    Clearing up confusion over the proposed crashdump cut. As I posted in my last blog, Scott is soliciting feedback about a proposal to cut support for an old dump format. There has been some confusion over this, so I wanted to throw in my two cents. Crashdumps...
  • greggm's WebLog

    Are you using the old crashdump format?

    • 0 Comments
    If you are still using the old crashdump format, let Scott know – we are thinking of cutting support for it...
  • greggm's WebLog

    Retail code debugging

    • 7 Comments
    Retail code debugging is one of those necessary evils. It's difficult, but the only way to completely avoid it is to not have retail code, which unfortunately usually requires you to avoid having any customers. Anyway, I figured I would give a brief tour...
  • greggm's WebLog

    Whidbey Debugger pseudo-register - $user

    • 7 Comments
    Today I wanted to talk about my strangest contribution to the Whidbey debugger is a new pseudo-register -- $user. What is $user? First, I guess I should define what a pseudo-register is. Pseudo-registers are fake variables that can be evaluated in any...
  • greggm's WebLog

    Debugging the last COM Error (SetErrorInfo/GetErrorInfo)

    • 2 Comments
    Well it has been a long time since I have posted. Whidbey has been taking up a lot of time lately, so unfortunately I have been unable to find the time to post. Anyway, today I wanted to talk about ole32!GetErrorInfo / ole32!SetErrorInfo . These are the...
  • greggm's WebLog

    Remote Debugging without domain accounts

    • 7 Comments
    This blog has been on my todo list forever. I am now sitting in an airport, so I guess it is time for the procrastination is over… I want to talk about remote debugging in the following network situations: Two domains without two-way trust Two computers...
  • greggm's WebLog

    Mike Stall has a blog

    • 0 Comments
    http://blogs.msdn.com/jmstall Mike Stall is the VS debugger team's best friend in the .NET Runtime (CLR). He is the dev responsible for implementing ICorDebug. The VS debugger uses ICorDebug to implement managed debugging. If you have hard core managed...
  • greggm's WebLog

    Using templates to convert calls to strcpy and other CRT functions

    • 1 Comments
    Some teams, and the debugger is definitely one of them, make heavy use of the C Runtime (CRT) string manipulation functions. Before VS 2003 shipped, we spent a lot of time converting calls from the old insecure functions, to calls to the equivalent function...
  • greggm's WebLog

    Enabling/Disabling Script Debugging

    • 2 Comments
    Generally speaking, script debugging defaults to off. One of the many mistakes that we made with the script debugging architecture is that every application has their own unique way of deciding if script debugging is enabled or disabled. Classic ASP:...
  • greggm's WebLog

    Postmortem on working from Nebraska

    • 8 Comments
    I have spent the last three weeks working from Lincoln Nebraska, where my wife is in school. In fact, I am typing this from my plane back home. I decided that it might be interesting to talk about my experiences working remotely. First, I would like to...
  • greggm's WebLog

    Configuring XP SP2 to enable remote debugging for VS 2002/2003

    • 8 Comments
    Soon we will get the remote debugger KB article fixed, and this blog will be useless. In the mean time… Basic steps to get remote debugging to work after installing XP SP2: Configure DCOM on the Visual Studio computer Configure Windows Firewall on both...
  • greggm's WebLog

    Debugging your unhandled exception filters

    • 3 Comments
    Sometimes an application will decide that they would like to do something interesting with unhandled exceptions. To do this, you would use SetUnhandledExceptionFilter . Maybe you want to report the exception to some web service (example: Windows Error...
  • greggm's WebLog

    How script debugging works

    • 2 Comments
    There are a couple of players in client side script debugging: Script host (example: wscript.exe, mshtml.dll or asp.dll). This is the application that wants to run script. The host is responsible for giving the text of documents to the debugger...
  • greggm's WebLog

    Client side script debugging

    • 1 Comments
    Good Monday morning. I hope everyone had a nice weekend. Mine was wonderful because I got to spend it with my wife, which is quite a luxury for me these days. Anyway, today I decided I would talk about client side script debugging. What I mean by client...
  • greggm's WebLog

    Script debugging tips

    • 5 Comments
    Monica wrote a very nice document for this feature. A few quick highlights: Internet explorer defaults to having script debugging disabled. IE also likes to disable script debugging when you install a new version of IE (example: XP SP2). In IE, go to...
  • greggm's WebLog

    Breakpoints in client side script of .ASPX files

    • 2 Comments
    If you open up a .ASPX file from your project, you won't be able to hit breakpoints in the client side script code, like you could for the server side ASP.NET code. The basic problem is that Internet explorer gets a very different view of this file then...
  • greggm's WebLog

    More on diagnosing 'The debugger is not properly installed'

    • 3 Comments
    It seems that you can no longer make comments on my post -- Diagnosing 'The debugger is not properly installed' . Feal free to leave new comments here.
  • greggm's WebLog

    Minidumps

    • 4 Comments
    A couple weeks ago I was talking to a couple developers from other companies. We were talking about the debugger, which is always one of my favorite topics of discussion. They said one thing very surprising – they didn't get how they could look at a minidump...
  • greggm's WebLog

    Debugging automatic manifest files

    • 1 Comments
    In Whidbey, the Visual C++ libraries team has moved to a model where the various C++ runtime dlls (msvcr80.dll msvcp80.dll atl80.dll etc) are found using Fusion instead of the classic dll resolution that we all know. What this means is that: You...
  • 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

    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

    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

    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

    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

    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...
Page 3 of 5 (114 items) 12345