• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Java debugger stopped working in Eclipse 2020-03"

Collapse

  • NotAllThere
    replied
    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?

    Leave a comment:


  • minestrone
    replied
    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.

    Leave a comment:


  • NotAllThere
    replied
    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.

    Leave a comment:


  • minestrone
    replied
    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.

    Leave a comment:


  • Paralytic
    replied
    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!!!

    Leave a comment:


  • NotAllThere
    replied
    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.

    Leave a comment:


  • jamesbrown
    replied
    Originally posted by cannon999 View Post
    People also make money from using technologies from this century
    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

    Leave a comment:


  • cannon999
    replied
    Originally posted by NotAllThere View Post
    Yes. And make money from it. lol
    People also make money from using technologies from this century

    Leave a comment:


  • jamesbrown
    replied
    Any OOMEs in the log? All bets are off w/r to weird behaviour at that point.

    Edit: and I would definitely try to turn off your av. I distinctly recall jdk classes not being found in some cases when av has interfered.

    Leave a comment:


  • NotAllThere
    replied
    I'm stuck with Eclipse as I'm writing a plugin for ABAP Development Tools.

    It's strange - it was all working fine. No updates, not even a reboot - and then suddenly stopped working. (I didn't change nuffink, guv). Not on that laptop at the moment - but yeah, latest jdk. There's a bunch of exception dumps coming up in the .log file. I even tried doing a new install - it was even worse!

    I'll try 2019-12 and see what happens. I know that I'm unlikely to get anything helpful here, but yeah, you never know.

    Leave a comment:


  • jamesbrown
    replied
    Oh, and it's unlikely you'll get a better answer here than searching TBH... but you never know, I guess

    Leave a comment:


  • jamesbrown
    replied
    If you have antivirus software installed, I would disable that too (temporarily) - can sometimes interfere in unexpected ways. For example, I've had problems in Eclipse with both McAfee and Acronis.

    Leave a comment:


  • jamesbrown
    replied
    Prefer IDEA but, when I need to use Eclipse, I always use the one prior (so December 19 in this case) because the early releases do tend to be buggy in my experience.

    What jdk are you using?

    Leave a comment:


  • NotAllThere
    replied
    Originally posted by cannon999 View Post
    People still use Java?

    lol
    Yes. And make money from it. lol

    Leave a comment:


  • cannon999
    replied
    People still use Java?

    lol

    Leave a comment:

Working...
X