Re: debugging tomcat itself with netbeans

2005-07-14 Thread Geertjan Wielenga


Hi Herman,

Did you get further with this?

-- Geertjan

Hernan Ochoa wrote:


Hi all,

I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much luck.
I'm able to attach to a running instance of tomcat using JPDA, but
then my breakpoints are activated erraticaly.

Did someone try this before?
These are the things I did:

-compiled tomcat 5.5.9 with a build.properties file containing:
compile.debug=on
compile.deprecation=off
compile.optimize=off
debuglevel=lines,vars,source
-I added all .java files into a new netbeans project (I created a new
project with the option new project with existing java source files
or sthg like that)
-I run tomcat using the command /bin/catalina.sh jpda start
-I attach to the instance of tomcat running with netbeans
-I set the breakpoints by toggling them into the .java source files I
added on netbeans. Sometimes I do this from the Files window, and
sometimes from the Projects windows. Here I'm not sure what's the
right way to go.

Any help with this would be much appreciated.
If anyone has sucessfully debugged tomcat with another debugger,
please let me know also.

Thanks in advance.
bye!

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

 




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



debugging tomcat itself with netbeans

2005-06-22 Thread Hernan Ochoa
Hi all,

I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much luck.
I'm able to attach to a running instance of tomcat using JPDA, but
then my breakpoints are activated erraticaly.

Did someone try this before?
These are the things I did:

-compiled tomcat 5.5.9 with a build.properties file containing:
compile.debug=on
compile.deprecation=off
compile.optimize=off
debuglevel=lines,vars,source
-I added all .java files into a new netbeans project (I created a new
project with the option new project with existing java source files
or sthg like that)
-I run tomcat using the command /bin/catalina.sh jpda start
-I attach to the instance of tomcat running with netbeans
-I set the breakpoints by toggling them into the .java source files I
added on netbeans. Sometimes I do this from the Files window, and
sometimes from the Projects windows. Here I'm not sure what's the
right way to go.

Any help with this would be much appreciated.
If anyone has sucessfully debugged tomcat with another debugger,
please let me know also.

Thanks in advance.
bye!

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



debugging tomcat itself with netbeans

2005-06-21 Thread Hernan Ochoa
Hi all,

I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much luck.
I'm able to attach to a running instance of tomcat using JPDA, but
then my breakpoints are activated erraticaly.

Did someone try this before? 
These are the things I did:

-compiled tomcat 5.5.9 with a build.properties file containing:
compile.debug=on
compile.deprecation=off
compile.optimize=off
debuglevel=lines,vars,source
-I added all .java files into a new netbeans project (I created a new
project with the option new project with existing java source files
or sthg like that)
-I run tomcat using the command /bin/catalina.sh jpda start
-I attach to the instance of tomcat running with netbeans
-I set the breakpoints by toggling them into the .java source files I
added on netbeans. Sometimes I do this from the Files window, and
sometimes from the Projects windows. Here I'm not sure what's the
right way to go.

Any help with this would be much appreciated.
If anyone has sucessfully debugged tomcat with another debugger,
please let me know also.

Thanks in advance.
bye!

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