none
how to enable JIT debugging on my Windows 7 (64 bit) computer? I keep getting different Errors popping up on my computer about debugging different programs and that JIT debugging must be enabled!

    Question

  • How do I enable JIT debugging on my Windows 7 (64 bit) computer? I keep getting different Errors popping up on my computer and the latest one says when I attempted to watch a DVD video with VLC media player but this isn't the first error this week saying that JIT debugging must be enabled and I don't know how to do that : ( "Microsoft Visual C++  Runtime Library"  Assertion Failed! Program C:\Program Files (x86) VideoLAN\VLC\vlc.exe  File: vm.c

    Line: 1765

    Expression: pgcit != NULL

    For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.

    (Press Retry to debug the application- JIT must be enabled)

    Tuesday, October 15, 2013 2:43 PM

Answers

  • Hi Rhondavas77,

    To enable/disable Just-In-Time debugging

    1. On the Tools menu, click Options.

    2. In the Options dialog box, select the Debugging folder.

    3. In the Debugging folder, select the Just-In-Time page.

    4. In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed, Native, or Script.

      To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.

    5. Click OK.

    More information is here.

    http://msdn.microsoft.com/en-us/library/k8kf6y2a(v=vs.85).aspx

    Best Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 16, 2013 7:43 AM

All replies

  • Hi Rhondavas77,

    To enable/disable Just-In-Time debugging

    1. On the Tools menu, click Options.

    2. In the Options dialog box, select the Debugging folder.

    3. In the Debugging folder, select the Just-In-Time page.

    4. In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed, Native, or Script.

      To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.

    5. Click OK.

    More information is here.

    http://msdn.microsoft.com/en-us/library/k8kf6y2a(v=vs.85).aspx

    Best Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 16, 2013 7:43 AM
  • "On the Tools menu, click Options."

    Tools menu of what?

    Friday, September 26, 2014 12:01 PM
  • Totally useless answer! Please remember that we are not all software engineers!

    WHAT TOOLS MENU ARE YOU REFERRING TO? The are many and the useless help and support section on my laptop cannot find anything to do with the JIT Debugging folder.

    I have Tools on all my browsers - not there. In control Panel it cannot find it either. So where exactly is this Options/JIG Debugging folder that you refer to.

    Many thanks after a lot of wasted time on my part

    Wednesday, October 29, 2014 2:33 PM
  • Dif you by any chance find the debugging folder? If so please tell me where!!!!
    Wednesday, October 29, 2014 2:35 PM
  • I just resolved this issue, not sure if you still need a solution or not....

    Search for file 'machine.config' , I found it here:

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG

    Find the line    <!-- <system.windows.forms jitDebugging="false" /> -->

    and change it to true. I wasn't able to directly save the edited version in that folder. Instead save to the desktop and then paste it in. Recommend keeping a renamed version 'machine_old.config' or something incase you one day find you accidently hosed something.

    Hope that helps!

    • Proposed as answer by Milt54 Friday, November 14, 2014 9:47 PM
    • Unproposed as answer by Milt54 Friday, November 14, 2014 9:47 PM
    Friday, November 07, 2014 7:59 PM
  • Brad,

    I tried opening the machine.config but it is an unknown file type to my PC. Do you know what type it is?

    Friday, November 14, 2014 9:51 PM
  • It is not clear to me where to find this Tools menu. Can someone advise me where?

    Regards,

    BillCh43

    Thursday, January 01, 2015 7:13 PM
  • In VisualStudio, I think.
    Friday, February 20, 2015 9:18 AM
  • Well I could manage to figure out till the config file!
    But i couldn't find the entry over there.

    Well now my question is, am I supposed to add it seperately under the <configuration> ?????

    <section name="system.windows.forms" type="System.Windows.Forms.WindowsFormsSection, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=hexdecimal numbers" />

    but did not find anything as to jitdebugging :(

    also including the file path for references

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG

    Tuesday, March 03, 2015 5:12 AM
  • Just right click on the file and select open and select notepad. This may help.
    Tuesday, March 03, 2015 5:12 AM