Need Help! Problems with running eclipse debugger with tomcat
- From: "jung_h_park@xxxxxxxxx" <jung_h_park@xxxxxxxxx>
- Date: 11 Oct 2006 11:05:00 -0700
Hello all,
I have a web application written in Java and running on Jakarta Tomcat
(v 5.0.x). I am trying to do some live debugging - stepping through
the lines, stopping at a breakpoint, evaluating the value of variables,
and that kind of stuffs - but I got stuck here.
First of all, I have set the environmental varialbes (I'm doing it on
Windows XP by the way) as following:
JPDA_ADDRESS = 8000
JPDA_TRANSPORT = dt_socket
Then added this falg(?) in the startup.bat so that the server will be
launched with the following command:
catalina jpda start
Okay, everything looks good so far... right? The server starts up fine
without any error messages.
Then added a new Debug configuration in Eclipse v 3.0 (I know there are
more recent versions but I'm stuck with this version - a long story):
using "localhost" as Host and "8000" for Port.
Then when I try to start a Debug session, I (sometimes) get the
following message:
Unable to install breakpoint in <<my class name>> due to missing line
number attributes. Modify compiler options to generate line number
attributes. Reason: Absent Line Number Information
If I don't get that error message in the beginning, I sure get it again
when I load a web page that loads a class where I put a breakpoint in.
I did set the compiler option to generate line number. I have verified
this a million times now and I have recompiled and rebuilt the code
many many time...
Why am I getting this message??? Anyone has any idea?
Thank you very much in advance.
_Jung
.
- Prev by Date: Ann: Structure101 for Java V2 - Rate & Analyze Your Software Architecture
- Next by Date: setup of a software
- Previous by thread: Ann: Structure101 for Java V2 - Rate & Analyze Your Software Architecture
- Next by thread: setup of a software
- Index(es):
Relevant Pages
|