| Author |
Message |
|
|
Post subject: [Closed] Debugging works *sometimes*
Posted: Feb 16, 2006 - 05:39 AM
|
|
Registered Member


Joined: Oct 30, 2004
Posts: 50
|
|
I'm using Tomcat 5.5.15 on Linux and Windows - and sometimes debugging works and sometimes it just doesn't. Sometimes I get the checkmark on the breakpoint and sometimes I don't...it's hard to determine what exactly causes this as it isn't consistent.
I'm using:
Eclipse 3.1.2
MyEclipse 4.1
JDK 1.5.0_06
Tomcat 5.5.15
Gentoo Linux (kernel 2.6.15)
Gnome 2.12.2
On Windows - WinXP Pro SP1, tomcat 5.5.15.
I'm using exploded deployment and I've got the application server set to debug mode. It's also set for smart deployment, however, I've had to restart tomcat a few times due to some library changes.
Any ideas? |
Last edited by zambizzi on Feb 16, 2006 - 03:36 PM; edited 1 time in total
|
| |
|
|
|
 |
|
|
Post subject: found *why*
Posted: Feb 16, 2006 - 01:33 PM
|
|
Registered Member


Joined: Oct 30, 2004
Posts: 50
|
|
This is happening every time I restart Tomcat. When tomcat comes back up the check marks disappear from the breakpoints and if I don't restart myeclipse, I can't debug.
How do I fix this? Obviously I have to restart tomcat from time to time. Is this a bug?
Thanks! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 16, 2006 - 01:36 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
Is this with Servlets, Classes, JSPs or all of the above? If you aren't sure, please try and narrow it down, there is a difference between the classes and the JSPs that might explain what is going on.
On a side note, I've been using Tomcat 5.5.15 for some work and it seems a lot flakier than 5.0.28 or 5.5.9 were, but maybe that's just me. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 16, 2006 - 03:36 PM
|
|
Registered Member


Joined: Oct 30, 2004
Posts: 50
|
|
Sorry, with Servlets...I haven't tried debugging JSPs or other classes yet...though I'm able to step through other classes just fine once I've started debugging a servlet.
I think you're probably right...I've had more problems w/ 5.5.15 than I had w/ previous releases...5.5.9 worked very well for me too (for the short time that I used it.) Unfortunately, we've got 5.5.15 in production now (for small data-entry apps.)
I couldn't re-create the problem today so I'll just have to mark it up to an unknown anomaly and put it to rest....thanks for the help! Very helpful, as usual! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 16, 2006 - 03:51 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
Very strange, thank you for reporting this though so we are aware of it if other folks run into a similar problem. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|