Just in Time debugger for C# managed code - Revisited RRS feed

  • Question

  • I would like to use VS2010 as the JIT Debugger for my winforms application,
    which contains managed and unmanaged 3rd party controls.

    I have the set the following things:

    1) In app.config i've inserted the following line (at the end of the config section):
    < jitDebugging="true" />

    2) In VS, under Tools -> Options -> Debugging -> Just-In-Time
    Managed, Native and Script are checked

    3) In VS, the build configuration is set to DEBUG

    4) The application is being configured as x86

    5) In the registry
    has this line "C:\Windows\system32\vsjitdebugger.exe" PID %d APPDOM %d EXTEXT "%s" EVTHDL %d
    and DbgJITDebugLaunchSetting is set to 2 hexadecimal.

    If i completely remove (1) from the app.config, then .net dialog box appears whenever
    and error occurs.  If i insert (1), then nothing happens. The program
    just runs 'past' the error and not debugger pops up.

    Any ideas?

    • Moved by Bob Shen Thursday, May 16, 2013 6:10 AM
    Tuesday, May 14, 2013 3:59 PM