Re: Auto-discard notification (debugging JSPs)

Nathan Fiedler <[email protected]> Tue, 1 Jul 2008 00:43:24 -0700 (PDT)
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Well, it seems the SourceForge version of Mailman has discarded everything from this message except the message itself. No idea how to reach Dominic, or what the original subject was.

In any case, it seems that the breakpoints in the JSP code are not resolving. I'll file an issue to look at this more closely after I get JSwat working on NetBeans 6.1.

n


----- Original Message ----
From: "[email protected]" <[email protected]>
To: [email protected]
Sent: Monday, June 30, 2008 1:59:52 PM
Subject: Auto-discard notification

The attached message has been automatically discarded.

Just stumbled across Jswat and am trying to figure out how to use it to
debug JSP's.

Finally figured out the options to pass to Tomcat and am able to "attach".

Have classpath (for Session Settings) set to C:\Program Files\Apache
Software Foundation\Tomcat
5.5\work\Catalina\localhost\TestApp\org\apache\jsp which contains the
genereated .java and .class files from my webapp's JSP files.

Have the sourcepath (for Session Settings) set to C:\Program Files\Apache
Software Foundation\Tomcat 5.5\webapps\TestApp which is my webapp folder and
contains my JSP files.

I attach successfully and "see" various classes appear under the classes tab
on the left hand pane of Jswat.

Under "Class loader org.apache.jasper.servlet.JasperLoader" I see
org/apache/jsp/START_jsp hierarchy, and START.jsp is my initial JSP file in
my webapp folder.  It is the only one "compiled (via browsing)" right now.

So, all that seems ok.  I can right-click on the START_jsp and "Show source"
and, sure enough, my JSP file source appears.

I can set breakpoint, etc.

But, I never actually get to debug the page.  Reloading the page works
instantly in a browser.  Tomcat never pauses and Jswat never indicates
debugging has stopped the app or anything.

Anyone have any ideas as to what stupidity I am committing?

Thanks,

Dominic Tynes


      

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php