Menu

#911 Debugger not active

4: Serious
closed-fixed
Debugger (52)
8
2015-10-07
2011-07-26
No

Hi, I'm getting set up for Fall and notice that on all the machines here in the lab, starting with the release from last December, the debugger is no longer active. The current stable version works, but the development version does not show the Debugger menu and says that the debugger is not active in Preferences. We are running with the JDK and the Interactions Pane shows the compiler using tools.jar from the JDK folder. Manually setting tools.jar has no effect.

--Steve Gilbert

Discussion

  • Stephen Gilbert

    Stephen Gilbert - 2011-07-26

    We cannot attempt to fix this bug without more information. Please post another comment detailing what you were doing to cause this to happen. If you have it, please include the information you can get by pressing the "More Information" button in the DrJava error window.

    Thanks,
    The DrJava Team

     
  • Stephen Gilbert

    Stephen Gilbert - 2011-07-26

    I've continued to investigate, tracing through the source code. In the DefaultGlobalModel constructor where it loops through each of the libraries it finds, it correctly finds both the JDK5 and JDK6 on my machine, but reports the Debugger is not available. Tracing into JDKToolsLibrary, around line 158 where it attempts to create the Debugger object using reflection, the NoClassDefFoundError is thrown for com.sun.jdi.VMDisconnectedException.

    --Steve

     
  • Mathias Ricken

    Mathias Ricken - 2011-07-27

    Thanks for your help already, Stephen. Can you please still post the information contained in the System Properties?

    You can get the text by clicking on Help, About DrJava, and then pressing the "Copy System Properties" button.

     
  • Mathias Ricken

    Mathias Ricken - 2011-07-27
    • milestone: --> 4: Serious
    • priority: 5 --> 8
    • assigned_to: nobody --> mgricken
    • status: open --> open-accepted
     
  • Mathias Ricken

    Mathias Ricken - 2011-07-27

    I think I found the problem. I'll have a new version out by the end of tomorrow.

     
  • Mathias Ricken

    Mathias Ricken - 2011-07-27
    • status: open-accepted --> open-fixed
     
  • Stephen Gilbert

    Stephen Gilbert - 2011-07-27

    Hi; yes, that fixes the problem. I never would have found it. Thanks.
    --Steve

     
  • Mathias Ricken

    Mathias Ricken - 2011-07-27
    • status: open-fixed --> closed-fixed
     
  • Lean Wang

    Lean Wang - 2015-10-07

    This bug is back alive when running Java8:
    https://sourceforge.net/p/drjava/bugs/955/

    a private fix is offer.

     

    Last edit: Lean Wang 2015-10-07

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.