webtier@glassfish.java.net

Re: [webtier] Debugging JSF?

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Thu, 18 Sep 2008 09:35:24 -0700

webtier_at_javadesktop.org wrote:
> I'm using Netbeans 6.1, and I'm debugging an issue that I'm running into and I'd like to step through some of the JSF code, specifically method processSaveState of the UIComponentBase and the StateManagerImpl.
>
> How do I set up Netbeans so that it recognizes the source for the project and allows me to set breakpoints, step into, etc? I have downloaded the latest Mojarra sources, added them to my project, and can kinda get everything to work, but it looks like I have possibly different versions of the jars since the debugger does weird things - and complains when I try to set breakpoints in certain locations. I added the latest jars to my project - but it still doesn't quite work.
>
>
Verify the version you're bundling with your webapp or what is already
included with the container.
Then ensure you've downloaded the source bundle appropriate to that version.

Mojarra will display its version number when a JSF based application is
initialized.
If you're not finding the version string in your container's log, then
the manifest
of the either the jsf-api or jsf-impl JARs will have the version.

> Is there an easier, more straightforward way of setting up Netbeans for debugging into the JSF code base?
> [Message sent by forum member 'darrensiegel' (darrensiegel)]
>
> http://forums.java.net/jive/thread.jspa?messageID=300113
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>