Java debugger stopped working in Eclipse 2020-03 Java debugger stopped working in Eclipse 2020-03 - Page 2
Page 2 of 2 FirstFirst 12
Posts 11 to 16 of 16
  1. #11

    Respect my authoritah!

    NotAllThere's Avatar
    Join Date
    Aug 2007
    Location
    Far away from HMRC
    Posts
    22,882

    Default

    Quote Originally Posted by jamesbrown View Post
    I’ll code in more or less anything that is the best solution for the client and pays my exorbitant rate
    This is my approach.
    Down with racism. Long live miscegenation!

  2. #12

    Contractor Among Contractors


    Join Date
    Jul 2019
    Posts
    1,083

    Default

    Quote Originally Posted by jamesbrown View Post
    People also make money from using appropriate tools for the job/client and not getting too ideological or caught up with fads. I’ll code in more or less anything that is the best solution for the client and pays my exorbitant rate
    That may be so, but I bet his dad is bigger than your dad!!!

  3. #13

    More fingers than teeth


    Join Date
    Apr 2008
    Posts
    16,865

    Default

    Quote Originally Posted by NotAllThere View Post
    I'm busy writing a plug-in for Eclipse, when all of a sudden, Java debugging stops. The log shows the error:

    !MESSAGE Unable to find location of java.lang.Thread.setName() in debuggee JVM, for type java.lang.Thread

    Tried restarting, rebooting... but no joy. Any ideas? (Note, as I'm developing a plug-in for Eclipse, I can't use another better IDE).
    Sorry I missed this one,

    You want to reconcile your JDKs. Make sure eclipse and the process you are running under eclispe are the same java. It will be a JDK issue,

    My main gig is java, and I've used eclipse since 2003, eclipse jut got really unstable after JDK9. VSC for me now.

  4. #14

    Respect my authoritah!

    NotAllThere's Avatar
    Join Date
    Aug 2007
    Location
    Far away from HMRC
    Posts
    22,882

    Default

    Quote Originally Posted by minestrone View Post
    Sorry I missed this one,

    You want to reconcile your JDKs. Make sure eclipse and the process you are running under eclispe are the same java. It will be a JDK issue,

    My main gig is java, and I've used eclipse since 2003, eclipse jut got really unstable after JDK9. VSC for me now.
    I've entirely removed oracle Java from my system. I've reinstalled eclipse and switch to the openSDK "SAPMachine" - which is what they use for developing the ADT tool, for which I'm creating a plugin. But today is a public holiday, so tomorrow I'll see what happens.
    Down with racism. Long live miscegenation!

  5. #15

    More fingers than teeth


    Join Date
    Apr 2008
    Posts
    16,865

    Default

    You wanna nail down the java JDK before eclipse starts...

    eclipse.ini - Eclipsepedia

    ...with the -vm option. You are probably running under some desktop JRE that Ellison has injected into your PC. 90% of the time that fixes eclipse issues.

    but.. java is trying to kick off a thread, and failing. You should try running eclipse as admin.

  6. #16

    Respect my authoritah!

    NotAllThere's Avatar
    Join Date
    Aug 2007
    Location
    Far away from HMRC
    Posts
    22,882

    Default

    Bung in SAPMachine, reset the environment variables and everything sprang into life. No need for admin rights to run eclipse - although I needed them to set the environment variables how I wanted them.

    So, thanks to all.

    Next bit - from the eclipse editor, in the launch method of my implementation of org.eclipse.debug.ui.ILunachShortcut - how do I get the name of the object being edited and what kind of object it is from editorPart?
    Down with racism. Long live miscegenation!

Posting Permissions

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