Can't debug with Eclipse [message #511311] |
Mon, 01 February 2010 04:01  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.04263 seconds