I realize there have been many posts regarding servlet debugging.
I've scanned through many of them and I believe my questions remain unanswered.
I'm using jswdk-1.0 and Visual Age 2.0 Pro. I have imported the jswdk
jars and resources (html, properties, xml) into VA. I understand how to
start the web server within VA and set breakpoints within the
jswdk-1.0 source.
My problem: I have not been able to successfully set (and execute) breakpoints
anywhere within my own servlet classes.
I've tried:
1) exporting my servlet classes (and source) to the file system
and setting breakpoints within VA for external dynamically loaded classes -
this works for breaking on entry points for methods but I still cannot set
breakpoints within each method; also the VA IDE debugger appears to behave differently
for
dynamically loaded external classes - you are not allowed to step through
the code line by line.
2) putting my servlet classes in the same VA IDE project as jswdk-1.0. This gets
me nowhere because the web server is still looking on the file system (via
settings in the webserver.xml file) for the servlet(s).
Questions:
1) do my servlets have to reside on the file system for the web server
to be able to find them - even if they are in the same VA project?
2) Is it possible to configure the web server so that it will look in the local
classpath (within VA IDE) to locate my servlets instead of the file system?
3) Is it possible to initiate servlet execution/debugging without using
a web browser to invoke the servlet (i.e. command line arg to Startup)?
4) In general, should I be able to load and debug servlets entirely within
the VA IDE without accessing the file system AND be able to set/execute break
points anywhere within my servlets (as opposed to method entry points only)?
Any help is appreciated.
John Deviney
Software Engineer
Austin Information Systems
[EMAIL PROTECTED]
[EMAIL PROTECTED]
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html