Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Remote debugging(Unable to find location of java.lang.Thread.setName())
Remote debugging [message #1838635] Tue, 02 March 2021 17:55 Go to next message
David Bo Jensen is currently offline David Bo JensenFriend
Messages: 12
Registered: November 2010
Junior Member
I try to do remote debugging with an extension in LibreOffice (LO)
For some reason I get this warning:

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

I think it happens when more than one thread has to be debugged, and the outcome is that I cannot connect. to LO
I can imagine it could be a configuration problem.
The JRE used is the same for both Eclipse and LO,

index.php/fa/40064/0/Eclipse.png

however, the LO requires that compiled extension should be in compliance with java 1.8 so I do that.
But where do I specify the used JDK?

 index.php/fa/40063/0/

Am I wrong where else to look?
  • Attachment: compile.png
    (Size: 47.66KB, Downloaded 61 times)
  • Attachment: Eclipse.png
    (Size: 35.46KB, Downloaded 52 times)
Re: Remote debugging [message #1838651 is a reply to message #1838635] Wed, 03 March 2021 06:13 Go to previous messageGo to next message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 122
Registered: February 2010
Location: Bangalore, India
Senior Member
Which Eclipse version are you using?

Can you try disabling the ThreadNameChangeListener using

-Dorg.eclipse.jdt.internal.debug.core.model.ThreadNameChangeListener.disable=true

https://www.eclipse.org/eclipse/news/4.9/jdt.php#disable-thread-name-changes


Sarika Sinha
JDT Programmer
Re: Remote debugging [message #1838757 is a reply to message #1838651] Thu, 04 March 2021 15:41 Go to previous message
David Bo Jensen is currently offline David Bo JensenFriend
Messages: 12
Registered: November 2010
Junior Member
I noticed that LO actually was using another version of JRE.
I installed JDK 15 64 bit and made sure that Eclipse and LO were using that version. I for instance edited eclipse.ini, and the problem disappeared.
Previous Topic:Project Cannot see exported Jar
Next Topic:fixing code by cutting and pasting
Goto Forum:
  


Current Time: Fri Jun 18 10:55:23 GMT 2021

Powered by FUDForum. Page generated in 0.02369 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top