logo       

Debugging Enhydra applications in NetBeans: msg#00032

java.enhydra.general

Subject: Debugging Enhydra applications in NetBeans

I'm trying to debug a servlet that is being called by Enhydra but I can't seem
to get NetBeans to understand where the source and class files are...

The servlet was built outside of NetBeans using ant (when I try to run the
build inside of NetBeans, its environment gets polluted and the build fails,
even when I set the netbeans option for ant to ignore all other classpaths).

Once I have it built, I make a netbeans project and add the various jars, the
build tree (with all the .class files in it) and the src tree (with all the
.java files in it).

When I start a debug session, Enhydra starts and runs fine, and when I send
requests, it calls my app fine, but if I try to set a breakpoint in my source
somewhere, the breakpoint never gets triggered.

When I look at the classes tab in the debugger window, it only shows the
enhydra super-servlet subclass I made and the admin session redirector class.
The rest of the classes don't show up at all.
Also, for the classes I CAN see, I can't access the source code unless I go
back to the editor panel and select it manually from the mounted filesystems
tab.

How do I get the debugger to see the source code and the other 800 classes
that make up the rest of this project?


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise