Need Help! Problems with running eclipse debugger with tomcat



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

.



Relevant Pages

  • Re: Problem with Word Loading
    ... This option has been known to cause conflicts in the Office applications and apparently we're encountering a new strain of odd error messages in Office 2007 due to the Office Plug-in these days. ... Microsoft Office MVP ... I tried the winword /a and it still didnt load. ... I may have to do the long uninstall. ...
    (microsoft.public.word.application.errors)
  • Re: Problem with specific sites
    ... I note that you have not been very precise about what 'could not load' ... Precise symptoms and error messages are essential to ... All the> computers in my home network are affected by this problem. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Lost Works CD that came with computer
    ... > I am getting error messages when in word. ... > me to load my Publisher software CD. ... > Works CD in the Microsoft CD and was most certain I placed ... > avoid having to purchase another Works software program. ...
    (microsoft.public.officeupdate)
  • Re: Windows Explore stops working if "third party browser extensio
    ... Explorer.exe will not load. ... No error messages. ... regarding the "third party browser extensions" are known as Browser ... installing the Google Toolbar in IE 6 enables third ...
    (microsoft.public.windowsxp.general)
  • Lost Works CD that came with computer
    ... I am getting error messages when in word. ... It asked for me to load my word CD from my Office XP 2002 ... avoid having to purchase another Works software program. ...
    (microsoft.public.officeupdate)