Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Error: Absent line number information
Error: Absent line number information [message #56763] Fri, 13 June 2003 13:59 Go to next message
Eclipse UserFriend
Originally posted by: dougr.rmsfinance.com

Under Window --> Preferences --> Java Compiler --> Compliance &
Classfiles, All 'Class file' generation options are set to True: (1) add
variable attributes, (2) addline numbers, (3) add source file name, (4)
preserve unused local variables.

So why, when I attempt to debug a servlet ( By (a) setting a breakpoint,
(b) starting Tomcat via Sysdeo Plug-in, and (c) calling a servlet routine
per JSP link ), do I get an error message:

"Attempting to install a breakpoint in the type
org.apache.artimus.FindByArticle that has no line number attributes. The
breakpoint cannot be installed. Class files must be generated with the
line number attributes.

Reason:
Absent Line Number Informaton"

All responses are gratefully appreciated.

Regards,
Douglas Reames
Re: Error: Absent line number information [message #56872 is a reply to message #56763] Fri, 13 June 2003 14:43 Go to previous messageGo to next message
Eclipse UserFriend
Did you actually compile that class? It sounds like it's from a library jar.

douglas wrote:
> Under Window --> Preferences --> Java Compiler --> Compliance &
> Classfiles, All 'Class file' generation options are set to True: (1) add
> variable attributes, (2) addline numbers, (3) add source file name, (4)
> preserve unused local variables.
>
> So why, when I attempt to debug a servlet ( By (a) setting a breakpoint,
> (b) starting Tomcat via Sysdeo Plug-in, and (c) calling a servlet routine
> per JSP link ), do I get an error message:
>
> "Attempting to install a breakpoint in the type
> org.apache.artimus.FindByArticle that has no line number attributes. The
> breakpoint cannot be installed. Class files must be generated with the
> line number attributes.
>
> Reason:
> Absent Line Number Informaton"
>
> All responses are gratefully appreciated.
>
> Regards,
> Douglas Reames
>
>
Re: Error: Absent line number information [message #56927 is a reply to message #56872] Fri, 13 June 2003 15:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dougr.rmsfinance.com

It is an application class file, not a library file. I have forced a
complete rebuild several times to get it to recognize that it should write
the line numbers.

Should I just use Ant? Do you have a troubleshooting routine to recommend?

best reagrds,
douglas reames

Thomas Mäder wrote:

> Did you actually compile that class? It sounds like it's from a library jar.

> douglas wrote:
> > Under Window --> Preferences --> Java Compiler --> Compliance &
> > Classfiles, All 'Class file' generation options are set to True: (1) add
> > variable attributes, (2) addline numbers, (3) add source file name, (4)
> > preserve unused local variables.
> >
> > So why, when I attempt to debug a servlet ( By (a) setting a breakpoint,
> > (b) starting Tomcat via Sysdeo Plug-in, and (c) calling a servlet routine
> > per JSP link ), do I get an error message:
> >
> > "Attempting to install a breakpoint in the type
> > org.apache.artimus.FindByArticle that has no line number attributes. The
> > breakpoint cannot be installed. Class files must be generated with the
> > line number attributes.
> >
> > Reason:
> > Absent Line Number Informaton"
> >
> > All responses are gratefully appreciated.
> >
> > Regards,
> > Douglas Reames
> >
> >
Re: Error: Absent line number information [message #56978 is a reply to message #56927] Fri, 13 June 2003 15:29 Go to previous messageGo to next message
Eclipse UserFriend
I'd actually look at the class file (I think javap does that). If your
class file has line number info, the problem is on the debugger side,
otherwise it's on the compile side. Also, delete the class file in
question and check if it's getting rebuilt.

douglas wrote:
> It is an application class file, not a library file. I have forced a
> complete rebuild several times to get it to recognize that it should write
> the line numbers.
>
> Should I just use Ant? Do you have a troubleshooting routine to recommend?
>
> best reagrds,
> douglas reames
>
> Thomas Mäder wrote:
>
>
>>Did you actually compile that class? It sounds like it's from a library jar.
>
>
>>douglas wrote:
>>
>>>Under Window --> Preferences --> Java Compiler --> Compliance &
>>>Classfiles, All 'Class file' generation options are set to True: (1) add
>>>variable attributes, (2) addline numbers, (3) add source file name, (4)
>>>preserve unused local variables.
>>>
>>>So why, when I attempt to debug a servlet ( By (a) setting a breakpoint,
>>>(b) starting Tomcat via Sysdeo Plug-in, and (c) calling a servlet routine
>>>per JSP link ), do I get an error message:
>>>
>>>"Attempting to install a breakpoint in the type
>>>org.apache.artimus.FindByArticle that has no line number attributes. The
>>>breakpoint cannot be installed. Class files must be generated with the
>>>line number attributes.
>>>
>>>Reason:
>>>Absent Line Number Informaton"
>>>
>>>All responses are gratefully appreciated.
>>>
>>>Regards,
>>>Douglas Reames
>>>
>>>
>>
>
>
>
>
Re: Error: Absent line number information [message #57004 is a reply to message #56978] Fri, 13 June 2003 15:35 Go to previous message
Eclipse UserFriend
Originally posted by: Olivier_Thomann.ca.ibm.comNOSPAM

On Fri, 13 Jun 2003 15:29:46 -0400, Thomas Mäder
<thomas_maeder@ca.ibm.com> wrote:
>I'd actually look at the class file (I think javap does that). If your
Use javap -l .... on the command line.
--
Olivier
Previous Topic:No mention to new problems view in 3.0 M1
Next Topic:Ant editor no longer gives hints..
Goto Forum:
  


Current Time: Thu May 01 04:44:43 EDT 2025

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

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

Back to the top