Just in time



  •  Just In Time

    a.) What is it "just-in-time" for?  <yelling>"Hun, is dinner ready?"</yelling>

    b.) Just in time debugging this exception failed because no debugger has just in time debugging.  Is that like the chicken and the egg thing for anybody else?

    c.) Enabled from where?

     

    This error occured for no apparent reason, and now it moved all of my taskbar items around randomly.  My Outlook was far left, now far right.  My Firefox is in the same place, Eclipse moved two places to the left.... ect.   No before shot, so an after one wouldn't help.



  • @amischiefr said:

    What is it "just-in-time" for?
    Given how long JIT compilers sometimes take, I always figured they were JIT for the apocalypse.



  • a) Just-in-time means "I wasn't debugging it before, but now I've got this programs state preserved in memory and can show you its innards." Sometimes when a program fails, Windows will want to show you some debugging info. And if you have Visual Studio installed it'll try to use that. You may get a disassembly of the crashed program if you have JIT debugging enabled and choose to debug.

    b) No debugger has JIT enabled.

    c) It's already told you where in the message box.



  • @amischiefr said:

    This error occured for no apparent reason, and now it moved all of my taskbar items around randomly.  My Outlook was far left, now far right.  My Firefox is in the same place, Eclipse moved two places to the left.... ect.   No before shot, so an after one wouldn't help.

    I suspect Explorer (which is responsible for the taskbar) crashed, then restarted and repopulated the taskbar, shuffling things around. I recommend Taskbar Shuffle.



  •  @benryves said:

    I suspect Explorer (which is responsible for the taskbar) crashed, then restarted and repopulated the taskbar, shuffling things around. I recommend Taskbar Shuffle.

    Yes yes yes.

    +42

    Bonus feature: middle-click closes a window.



  • @dhromed said:

     @benryves said:

    I suspect Explorer (which is responsible for the taskbar) crashed, then restarted and repopulated the taskbar, shuffling things around. I recommend Taskbar Shuffle.

    Yes yes yes.

    +42

    Bonus feature: middle-click closes a window.

    Use a utility to rearrange your task bar?  Pah!  In my day we 'ad to kill explorer using task manager, then minimize the remaining windows into their iconised forms in the reverse order we wanted them to end up in on the taskbar, then start explorer again from taskmanager.  Also, we used to dream of having middle-clicks ...



  • [quote user="Renan "C#" Sousa"]a) Just-in-time means "I wasn't debugging it before, but now I've got this programs state preserved in memory and can show you its innards." Sometimes when a program fails, Windows will want to show you some debugging info. And if you have Visual Studio installed it'll try to use that. You may get a disassembly of the crashed program if you have JIT debugging enabled and choose to debug.

    b) No debugger has JIT enabled.

    c) It's already told you where in the message box.[/quote] 

    Thanks for the explanation.  I'm a Java developer currently and haven't used Visual Studio since my first internship 5 years ago.  One thing though: JIT is installed through what?  If I din't have VS installed, what installed JIT, or is it just part of Windows?



  • @amischiefr said:

    [quote user="Renan "C#" Sousa"]a) Just-in-time means "I wasn't debugging it before, but now I've got this programs state preserved in memory and can show you its innards." Sometimes when a program fails, Windows will want to show you some debugging info. And if you have Visual Studio installed it'll try to use that. You may get a disassembly of the crashed program if you have JIT debugging enabled and choose to debug.

    b) No debugger has JIT enabled.

    c) It's already told you where in the message box.

     

    Thanks for the explanation.  I'm a Java developer currently and haven't used Visual Studio since my first internship 5 years ago.  One thing though: JIT is installed through what?  If I din't have VS installed, what installed JIT, or is it just part of Windows?

    [/quote] JIT debug is a feature that is supported by the OS, but implemented by any installed debugger that wants to register with the OS to get informed about exceptions in other applications when they happened and invoked with a chance to debug them.  The OS's part is to catch the exception and pass it around; the debugger application then takes control and does the usual business of showing a GUI to the user and controlling the inferior process (using system debug control APIs).




  • @amischiefr said:

    Thanks for the explanation.  I'm a Java developer currently and haven't used Visual Studio since my first internship 5 years ago.  One thing though: JIT is installed through what?  If I din't have VS installed, what installed JIT, or is it just part of Windows?
    Different debugging tools install different hooks and register them in a place Windows provides. Visual Studio installs one that tries to find Visual Studio, the one you're seeing now. Chances are you had Visual Studio installed, but it's not installed anymore, and it never unregistered its hook.

    I think you probably want to enable Dr. Watson. Don't export or import settings; just run the command provided. (Dr. Watson is the JIT "debugger" that comes with Windows, that just sends an error report to Microsoft.)



  • @TwelveBaud said:

    I think you probably want to enable Dr. Watson.
    Dr. Watson is a quack.  He was all like, "if you keep mainlining heroin at this rate, you'll be dead before the end of April."  Well now it's May, Dr. Watson!  How do you like them apples?



  • @DaveK said:

    In my day we 'ad to kill explorer using task manager,

    Silly you. You can [b]shut it down[/b] by pressing Ctrl+Alt+Shift+Cancel in the "Shut Windows down" dialog.



  • @TwelveBaud said:

    I think you probably want to enable Dr. Watson. Don't export or import settings; just run the command provided. (Dr. Watson is the JIT "debugger" that comes with Windows, that just sends an error report to Microsoft.)

    Actually, it just dumps dumps. The "sending home" part is performed by another component, whose name I think is WER.



  • @Spectre said:

    @DaveK said:
    In my day we 'ad to kill explorer using task manager,

    Silly you. You can shut it down by pressing Ctrl+Alt+Shift+Cancel in the "Shut Windows down" dialog.

    "Shut Windows down"dialog?  You had dialogs



  • @DaveK said:

    "Shut Windows down"dialog?  You had dialogs?

    Y'know, you need to use a dialog to launch Explorer from Task Manager, too.


Log in to reply