Results 1 to 13 of 13

Thread: windows 10: how disable Just-In-Time on programs execution?

  1. #1

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,535

    windows 10: how disable Just-In-Time on programs execution?

    i have some old programs(XP time).. i installed and, sometimes, can be executed.. but more times i get an error about the Just-In-Time debugger.... i'm not speaking about Visual Studio, but Windows 10 programs execution.
    error messages:
    https://imgur.com/cBqrjac
    and
    https://imgur.com/u9Ir1W2
    how can i avoid these error? can i disable the JIT on a program execution?

    PS: readers we can execute some older programs using these steps(yes i translate the portuguese page to english using the google translator: https://translate.google.com/transla...indows-10.html
    VB6 2D Sprite control

    To live is difficult, but we do it.

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    107,639

    Re: windows 10: how disable Just-In-Time on programs execution?

    Why would you take a shot of your entire screen when all we need is the text of the error dialogue? You could have copied and posted it as text even, but at least just take a shot of the dialogue. I went to a different site to see those images and I can't even read the text because it's so small. Sure, it's not the end of the world for me to enlarge it, although the text is then blurry, but it's my opinion that the person asking others to help should be the one making the extra effort to make it as easy as possible to provide that help.

  3. #3
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    107,639

    Re: windows 10: how disable Just-In-Time on programs execution?

    As for the issue, why not just press OK on the first dialogue and not try to debug in the first place? The root of the problem is that the application is throwing an exception and not catching it. That means that it's a badly written program from the start. We can't always predict every exception but we should have a global exception handler that at least logs those that we didn't. This app obviously hasn't predicted that exception and hasn't bothered to catch and log it either. As the first dialogue says, just click OK in the first dialogue to terminate the application. If you run the app on a machine that does have a debugger installed and get it to throw that exception then you may be able to debug it and work out why it's doing that in the first place.

  4. #4
    Administrator Steve R Jones's Avatar
    Join Date
    Apr 2012
    Location
    Largo, FL.
    Posts
    1,385

    Re: windows 10: how disable Just-In-Time on programs execution?

    Did you GOOGLE-> How do I disable the just in time debugger?

    Did you try to run your old app AS ADMINISTRATOR?
    "I have been wanting to grow my own food but I can not find any bacon seeds."

  5. #5

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,535

    Re: windows 10: how disable Just-In-Time on programs execution?

    title message: "gem12.exe - Common Language Runtime Debugging Services"
    Description message:
    "Application has generated an exception that could not be handle.
    Process id = 0x115c(4444), Thread id = 0x28b4 (10420).
    Click OK to terminate the application.
    Click CANCEL to debug the application."

    pressing CANCEL:
    title message: "gem12.exe - no debugger found."
    "Registered JIT debugger is not available. An attempt to launch a JIT debugger with the following command result in an error code of 0x2(2). Please check computer settings.
    cordbg.exe !a 0x115c
    Click on Retry to have the process wait while attaching a debugger manually.
    Click on Cancel to abort the JIT debug request."
    if i press 'Retry', the program freeze.
    if i press 'Cancel' the program close(like on previous message).
    and yes i did a google search and i have these question, without much success, on 2 portuguese forums
    at least i learned much more for execute some older programs\games
    VB6 2D Sprite control

    To live is difficult, but we do it.

  6. #6
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    107,639

    Re: windows 10: how disable Just-In-Time on programs execution?

    Quote Originally Posted by joaquim View Post
    title message: "gem12.exe - Common Language Runtime Debugging Services"
    Description message:
    "Application has generated an exception that could not be handle.
    Process id = 0x115c(4444), Thread id = 0x28b4 (10420).
    Click OK to terminate the application.
    Click CANCEL to debug the application."

    pressing CANCEL:
    title message: "gem12.exe - no debugger found."
    "Registered JIT debugger is not available. An attempt to launch a JIT debugger with the following command result in an error code of 0x2(2). Please check computer settings.
    cordbg.exe !a 0x115c
    Click on Retry to have the process wait while attaching a debugger manually.
    Click on Cancel to abort the JIT debug request."
    if i press 'Retry', the program freeze.
    if i press 'Cancel' the program close(like on previous message).
    and yes i did a google search and i have these question, without much success, on 2 portuguese forums
    at least i learned much more for execute some older programs\games
    Why are you pressing Cancel in the first place? Why aren't you pressing OK to terminate if that's what you want to do?

  7. #7

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,535

    Re: windows 10: how disable Just-In-Time on programs execution?

    Quote Originally Posted by jmcilhinney View Post
    Why are you pressing Cancel in the first place? Why aren't you pressing OK to terminate if that's what you want to do?
    like i said:
    1 - on 1st message: if i press 'cancel', it will close the program.. if i press 'ok', i will get the 2nd message;
    2 - on 2nd message: if i press 'cancel', the program will close.... if i press 'retry', the program freezes and i must close it using the process manager.
    but true i need use the program... so i don't have several choices for execute the program... when i execute several times, after 4 times(more or less), i can execute the program normaly... so how can i bypass the JIT debugger or something?
    VB6 2D Sprite control

    To live is difficult, but we do it.

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,727

    Re: windows 10: how disable Just-In-Time on programs execution?

    The program crashed before the JIT Debugger was involved (if you hadn't got that message, you would have got a normal "program crashed" error message).

    The JIT Debugger just gives you a chance to investigate why the program crashed. As it isn't working for you (and you probably can't work out how to avoid the crash), it seems that you are stuck unless you get an updated version of the program.

  9. #9

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,535

    Re: windows 10: how disable Just-In-Time on programs execution?

    the program don't have an update, it's a like a school program...
    so i have 1 question: why after some tryies, why i can execute the program?
    VB6 2D Sprite control

    To live is difficult, but we do it.

  10. #10
    Administrator Steve R Jones's Avatar
    Join Date
    Apr 2012
    Location
    Largo, FL.
    Posts
    1,385

    Re: windows 10: how disable Just-In-Time on programs execution?

    Quote Originally Posted by Steve R Jones View Post

    Did you try to run your old app AS ADMINISTRATOR?
    Did you try this?

  11. #11

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,535

    Re: windows 10: how disable Just-In-Time on programs execution?

    Quote Originally Posted by Steve R Jones View Post
    Did you try this?
    yes i did
    VB6 2D Sprite control

    To live is difficult, but we do it.

  12. #12

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,535

    Re: windows 10: how disable Just-In-Time on programs execution?

    "The program crashed before the JIT Debugger was involved (if you hadn't got that message, you would have got a normal "program crashed" error message)."
    if so, why, sometimes(limited), i can execute the program? so it's possible avoid that error\crash
    VB6 2D Sprite control

    To live is difficult, but we do it.

  13. #13
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,727

    Re: windows 10: how disable Just-In-Time on programs execution?

    We can only guess, there are far too many possibilities and we don't have any information to narrow it down.

    I recommend trying to work out what is different when it works (eg: do you have particular programs open/closed, is it a particular time, etc)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width