Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse 4.5.2 process suspends when launching RCP with debugger
Eclipse 4.5.2 process suspends when launching RCP with debugger [message #1732993] Mon, 23 May 2016 15:30 Go to next message
Bo Berney is currently offline Bo BerneyFriend
Messages: 12
Registered: July 2009
Junior Member
We have an RCP product we run in e3 compatibility mode.
Eclipse Mars.2 Release 4.5.2
Build id: 20160218-0600
Windows 7x64
JDK 1.8.0_91 x86_64

When launching our RCP application in the Eclipse debugger, the Eclipse IDE suspends (CPU shows "Suspended" in Process Explorer). When I resume it using Process Explorer, the launch never completes. If the IDE becomes responsive, then at least I can close and restart. Sometimes the IDE will hang even after resuming.

I cannot connect JVisualVM to it while it is suspended, but when it hung after resuming, I did notice that the following thread was hanging and blocking the main thread:

"Worker-4" #33 prio=5 os_prio=0 tid=0x000000001bfe6000 nid=0x5b6c runnable [0x0000000022d9e000]
   java.lang.Thread.State: RUNNABLE
	at Method)
	- locked <0x00000000d7f879f8> (a
	at sun.nio.cs.StreamDecoder.readBytes(
	at sun.nio.cs.StreamDecoder.implRead(
	- locked <0x00000000d7f89bf8> (a
	- locked <0x00000000d7f89bf8> (a
	at org.eclipse.debug.internal.core.LaunchManager.cacheNativeEnvironment(
	at org.eclipse.debug.internal.core.LaunchManager.getNativeEnvironmentCasePreserved(
	- locked <0x0000000081394628> (a org.eclipse.debug.internal.core.LaunchManager)
	at org.eclipse.debug.internal.core.LaunchManager.getNativeEnvironment(
	- locked <0x0000000081394628> (a org.eclipse.debug.internal.core.LaunchManager)
	at org.eclipse.jdt.internal.launching.StandardVMDebugger.prependJREPath(
	at org.eclipse.pde.launching.AbstractPDELaunchConfiguration.launch(
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(
	at org.eclipse.debug.internal.ui.DebugUIPlugin$

After resuming, the hanging launch was showing "Constructing command line..." in the Progress view.

I was able to debug fine a couple weeks ago, but somehow it is in a useless state and I cannot get it to debug at all.

Any ideas?

Attached is the complete stack trace for when it hung after resuming.
  • Attachment: stack.txt
    (Size: 23.36KB, Downloaded 116 times)

[Updated on: Mon, 23 May 2016 08:41]

Report message to a moderator

Re: Eclipse 4.5.2 process suspends when launching RCP with debugger [message #1732999 is a reply to message #1732993] Mon, 23 May 2016 16:09 Go to previous message
Patrik Suzzi is currently offline Patrik SuzziFriend
Messages: 2
Registered: February 2018
Junior Member
Hi, Bo!

Could you please file a bug against Platform UI, reporting the same information ?

here is the link :
Previous Topic:How to pass boolean attributes within java filter to doFilter
Next Topic:Is there a way to get the CSS spy to work on a RCP e4 JavaFX FXML app?
Goto Forum:

Current Time: Mon Aug 08 17:31:03 GMT 2022

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

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

Back to the top