What is the best way to debug JSP?


I did a quick search and can't find anything.

I am working on a jsp/java project and I need to find a good jsp debugger. but please don't limit it to only jsp, since this could be an investment

I want to know from your guys/gals' experience what the best jsp debugger you have used?

Intellij IDEA? <--would be awesome if i can find a equivalent, that doesn't cost as much (hey, one could only dream :)

any good Eclipse plugin for jsp debuggin??

thank you
this is urgent.
Who is Participating?
KuldeepchaturvediConnect With a Mentor Commented:
gagaliyaConnect With a Mentor Commented:
as a matter of fact i just used one to debug our j2ee app (servlet+jsp).  I highly recommand jprobe 5.2 (http://www.quest.com/jprobe/index.asp).  It allows debug/trace on many levels, - memory heap, line by line, execution cycles etc.

Also a ghetto way is just to make jsp print to a log file of your app server, system.err.println("msg").  That's what i use in the past to debug, of course it does not catch memory problems
Actually debugging a jsp can be hard.  I have not ever seen a great way to do it.  A jsp is essetially turned into pure java code, with print statements for each line, when it is compiled.  So to be able to step through it can be done but typically is not clear to alot of programmers what is going on.  I personally use eclipse which is a great free opensource project.  There are many plugins available one of which being MyEclipse.  MyEclipse is desined specifically for the developement of jsp's.  You can debug them as well.  Hope this helps
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.