AW: Line Numbers in compiled code...

2002-06-12 Thread Ralph Einfeldt

- Make shure that you compile with -g.
- If you did it and you still don't get the numbers, 
  it may help to disable the jit/hotspot compiler.

 -Ursprüngliche Nachricht-
 Von: August Detlefsen [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 12. Juni 2002 09:56
 An: Tomcat Users List
 Betreff: Line Numbers in compiled code...
snip/
 How do I get line numbers in my stack trace? 
 
 All the org.apache and javax class show line numbers, but my 
 classes do not:
snip/

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: AW: Line Numbers in compiled code...

2002-06-12 Thread August Detlefsen

Danke Ralph, this will help immensely.  

I did some more research and using ant for builds, that translates into
setting debug=on inside your javac element. 

Now I can't wait for my next bug! Well maybe not...

-A

--- Ralph Einfeldt [EMAIL PROTECTED] wrote:
 - Make shure that you compile with -g.
 - If you did it and you still don't get the numbers, 
   it may help to disable the jit/hotspot compiler.
 
  -Ursprüngliche Nachricht-
  Von: August Detlefsen [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 12. Juni 2002 09:56
  An: Tomcat Users List
  Betreff: Line Numbers in compiled code...
 snip/
  How do I get line numbers in my stack trace? 
  
  All the org.apache and javax class show line numbers, but my 
  classes do not:
 snip/
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]