How do I enable “JIT Debugging” for Microsoft .NET Framework In Windows 7?

Anonymous
2011-07-04T14:13:28+00:00

How do I enable “JIT Debugging” for Microsoft .NET Framework in Windows 7? A “dialog box” warning window with the red X icon pops up repeatedly/seemingly randomly , lists a long series of what looks to me like command line or etc programming, or events,  (I’m not a programmer, obviously), and then says:

Quote:

"Unhandled exception has occurred in your application.....The system cannot find the file specified...To enable Just In Time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

<configuration>

<system.windows.forms jitDebugging=”true”/>

</configuration>

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box."

End quote

As mentioned, I don't have programming skills/language, but I've been successful in past following a tech's exact and detailed directions, going into registry (or whatever/wherever in the bowels of the OS), finding a specified destination, modifying/retyping a specific file/command/etc, and managing to fix the problem without my computer melting.

Anyone?  With skillz?  Help, please?

Windows for home | Previous Windows versions | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

11 answers

Sort by: Most helpful
  1. Anonymous
    2018-03-05T08:37:43+00:00

    See the end of this message for details on invoking 

    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************

    System.NotSupportedException: The given path's format is not supported.

       at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)

       at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)

       at System.Net.WebClient.GetUri(String path)

       at System.Net.WebClient.DownloadString(String address)

       at FT_Controls_v1.تسجيل_الدخول_العضوية.xWshPw3e1iEJYeS8Hup(Object , Object )

       at FT_Controls_v1.تسجيل_الدخول_العضوية.MkEapQwHt2(Object  , EventArgs  )

       at System.Windows.Forms.Timer.OnTick(EventArgs e)

       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************

    mscorlib

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll


    _

        Assembly Version: 0.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll


    System.Windows.Forms

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


    System

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll


    System.Drawing

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


    FT Controls

        Assembly Version: 1.0.5.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll


    Microsoft.VisualBasic

        Assembly Version: 10.0.0.0

        Win32 Version: 14.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll


    System.Core

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll


    System.Configuration

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


    System.Xml

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll


    System.Runtime.Remoting

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll


    System.Management

        Assembly Version: 4.0.0.0

        Win32 Version: 4.7.2558.0 built by: NET471REL1

        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll


    ************** JIT Debugging **************

    To enable just-in-time (JIT) debugging, the .config file for this

    application or computer (machine.config) must have the

    jitDebugging value set in the system.windows.forms section.

    The application must also be compiled with debugging

    enabled.

    For example:

    <configuration>

        <system.windows.forms jitDebugging="true" />

    </configuration>

    When JIT debugging is enabled, any unhandled exception

    will be sent to the JIT debugger registered on the computer

    rather than be handled by this dialog box.

    57 people found this answer helpful.
    0 comments No comments