Error: Absent line number information [message #56763] |
Fri, 13 June 2003 13:59  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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
>>>
>>>
>>
>
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04730 seconds