Re: Error track can't track the exact line and display the bug line number

2007-10-08 Thread Oliver Yang
Thanks, Konstantin. Yes you are right. Now it is fine. If using Ant, the default is off, otherwise using command javac directly, by default it is on. On Mon, 2007-10-08 at 18:14 +0400, Konstantin Kolinko wrote: > When compiling with Ant the debug information is off by default. > > Look for the "d

Re: Error track can't track the exact line and display the bug line number

2007-10-08 Thread Konstantin Kolinko
When compiling with Ant the debug information is off by default. Look for the "debug" option of javac task in Ant manual here: http://ant.apache.org/manual/CoreTasks/javac.html - To start a new topic, e-mail: users@tomcat.apache

RE: Error track can't track the exact line and display the bug line number

2007-10-07 Thread Oliver Yang
Thanks for the prompt reply. I did not set -g option when I compile the application source codes. I checked javac options, by default, line numbers are generated. My buggy code is from a Servlet class and from .java file not .jsp. I use Ant script to build and deploy the application to Tomcat. I w

RE: Error track can't track the exact line and display the bug line number

2007-10-07 Thread Caldarale, Charles R
> From: Oliver Yang [mailto:[EMAIL PROTECTED] > Subject: Error track can't track the exact line and display > the bug line number > > The server give the "Unknown source" for the exact class name. That's the JVM, not Tomcat, displaying "Unknown source". That happens for code compiled with the