You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Mohan,Gautam" <Ga...@wipro.com> on 2002/09/27 05:09:36 UTC

Debugging servlets !!!

 

Hi ,  

           normally if any java program has to be debugged we use options
java -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=5555,server=y,suspend=y HelloWorld

 

and then if using JBuilder we can attach to the program at port 5555 and
start debugging or with jdb we use jdb -attach hostname:port .

 

But for servlet debugging how to go about doing the same.

 

 

Thanx and Rgds,

Gautam

 

 

Thanx and Rgds,

Gautam

 

The only way to discover the limits of the possible is to 

look beyond into the possible.

 

*********************************************************************

Gautam Mohan Srivastava

System Engineer

Wipro Technologies

No. 26,Hosur Road

Bommanahalli

Bangalore-560068

India

Tel :- 91-080-5732293 Extn-2154

Fax :- 91-080-5732696

www.wipro.com <http://www.wipro.com> 

 

*********************************************************************

 


Re: Debugging servlets !!!

Posted by Jeff Sykes <je...@cowz.com>.
Try here. These are directions for JBuilder 4, but I have seen this work
on 4, 5, 6 and 7, too.

http://community.borland.com/article/0,1410,27759,00.html

> "Mohan,Gautam" wrote:
> 
> 
> 
> Hi ,
> 
>            normally if any java program has to be debugged we use
> options java -Xdebug -Xnoagent
> -Xrunjdwp:transport=dt_socket,address=5555,server=y,suspend=y
> HelloWorld
> 
> 
> 
> and then if using JBuilder we can attach to the program at port 5555
> and start debugging or with jdb we use jdb -attach hostname:port .
> 
> 
> 
> But for servlet debugging how to go about doing the same.
> 
> 
> 
> 
> 
> Thanx and Rgds,
> 
> Gautam
> 
> 
> 
> 
> 
> Thanx and Rgds,
> 
> Gautam
> 
> 
> 
> The only way to discover the limits of the possible is to
> 
> look beyond into the possible.
> 
> 
> 
> *********************************************************************
> 
> Gautam Mohan Srivastava
> 
> System Engineer
> 
> Wipro Technologies
> 
> No. 26,Hosur Road
> 
> Bommanahalli
> 
> Bangalore-560068
> 
> India
> 
> Tel :- 91-080-5732293 Extn-2154
> 
> Fax :- 91-080-5732696
> 
> www.wipro.com
> 
> 
> 
> *********************************************************************
> 
> 
> 
>                            Name: Wipro_Disclaimer.txt
>    Wipro_Disclaimer.txt    Type: Plain Text (text/plain)
>                        Encoding: 7bit
> 
>     ---------------------------------------------------------------
> --
> To unsubscribe, e-mail:   <
> mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <
> mailto:tomcat-user-help@jakarta.apache.org>

-- 
Jeff Sykes
home.email - jeff@cowz.com 
home.phone - 831-460-1977
home.fax   - 508-355-0506

"This does remind me of a good 
 friend who used to taunt me 
 whenever i said, 'PIN Number.' 
 In a very silly voice he would 
 say, 'Yes! Give me my PIN Number 
 so that i can go to the ATM 
 Machine and get some Cash Money!'"
  - Anon


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>