You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Stephen <st...@webreserve.com> on 2001/01/03 17:45:56 UTC

RE: [How to debug?]

I use JBuilder 3.5 Foundation (the free version) and it works great for
debugging. If you have more memory then you can try 4.0 but I like 3.5
better right now. The good thing about JBuilder is it is highly
configurable. For example, I am able to put everything in the "webapps"
folder and create the application in the same place it will be deployed. VA
3.02 works OK but there is a caching problem if you add a new class or
change some of its once it has already been run. There are some workarounds
to this but I haven't gotten it to work. With JBuilder you just load all the
tomcat classes into your project and when its time to debug you just run the
main class that starts up tomcat. Since everything is running inside the
same jvm it will let you debug your servlets as they are run.

-----Original Message-----
From: Mariano Kamp [mailto:mkamp@codamax.com]
Sent: Sunday, December 31, 2000 7:19 AM
To: general@jakarta.apache.org
Subject: Re: [How to debug?]


Hello Edson,

  thanks very much for your answer. I just tried it with tomcat and it is
working alright for me.

  It seems quite powerful to me and I will go ahead and use it, still do
you know any *good* graphical frontend?

Mariano

On 30 Dec 2000, Edson Alves Pereira wrote:

>   Hey Mariano, my name's Edson. Well is very easy to debug servlet and JSP
> too. For a servlet you must to intercept a class called SnoopServlet, like
> this:
>
>
> 	$ jdb sun.servlet.http.HttpServer
> 	Initializing jdb...
> 	0xee2fa2f8:class(sun.servlet.http.HttpServer)
> 	> stop in SnoopServlet.doGet
> 	Breakpoint set in SnoopServlet.doGet
> 	> run
> 	run sun.servlet.http.HttpServer
> 	running ...
>
>   Anyway. The only thing I am really missing is the debugger. How do you
> guys debug your applications/servlets?
>

--
mariano kamp
codamax ag
hessenring 89

61348 bad homburg v.d.h.
germany

phone  +49 6172 182 473
fax    +49 6172 182 475
mobile +49 177 727 9468


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org