Jamie Wang wrote:
> 
> Any suggestion or tips on debugging servlet code in Apache/Jserv? I was
> able to get exceptions from the servlet code redirected to the error log
> file. But, the exception stack trace does not have any debugging
> information such as line number. I also compiled the sevelet class with
> -g switch and that does not matter. Do anyone know how to tell
> Apache/Jserv to load the debug version of the java vm?
> 
> Thanks.
> Jamie Wang

Hi Jamie

Don't compile with the optimization flag.
Do not use the JIT if you want to debug.

Tschau
Christian



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to