Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Can't debug with Eclipse(Eclipse Galileo - Sometimes the IDE debugs, sometines it doesn't)
Can't debug with Eclipse [message #511311] Mon, 01 February 2010 04:01 Go to next message
Eclipse UserFriend
Hi all, thanks in advance for your help

my problem is that I have no way to know when the IDE will successfully debug, and when it won't, so I can fix anywhere the settings. When the system has been launched to debug, but it doesn't, no error shows up or anything. It works such as if I had launched it via "Run as Server"

Although starting a debug session with "Debug as Server", and checking first that the server is stopped, I don't have 100% of certainty that it will debug, and reach the Toggled breakpoints.

When I need to debug what I do is to start/stop the process everytime till I get it, which may take up to 7-10 times before it works!

I would like to know if there's any checking steps I could follow to ensure successfully reaching breakpoints.

I am using Eclipse Galileo with Apache Tomcat 6.0

Many thanks for your help,
Carlos.

Re: Can't debug with Eclipse [message #511448 is a reply to message #511311] Mon, 01 February 2010 11:01 Go to previous message
Eclipse UserFriend
Ok I found a solution. Surfing on the web found a valid solution.

If attaching the JVM parameter in :

Window->Preferences->Java->InstalledJREs

clicking on jre6 and editing, and adding the following:

'-XX:+UseParallelGC'

seems to work. Hope anyone helps it. It debugs now everytime without skipping breakpoints.

Now I have another problem. I can only debug the first page I load, not the subsequent, which is also a big problem. After having foundt the previous problem I have no doubt it has to do with debug settings, but I am not being able to figure out which ones.

Can anyone help?

Thanks.
Carlos.
Previous Topic:Programmatically find references to a method or constant?
Next Topic:Java program lost touch with Eclipse console
Goto Forum:
  


Current Time: Sun Mar 16 00:11:27 EDT 2025

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

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

Back to the top