You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by William Pennoyer <pe...@danet.de> on 2001/12/18 15:49:26 UTC

Netbeans/tomcat work around for unavailable source code problem while trying to debug servlets

In June David Karr wrote that he was unable to debug Servlets with
Netbeans while the debugger could not find the source code -
"unavailable source file". I have circumvented this problem on windows
by using the SUBST command. After following the instructions  listed at
http://www.netbeans.org/articles/faqs/web_apps.html ( Using the IDE to
debug servlets  ) I created a drive mapping for the directory which
contained the code that I wanted to debug.  For example the actual
directory was "D:\Programme\tomcat-3.2.2\webapps\pdfdemo\WEB-INF" so I
did "SUBST N D:\Programme\tomcat-3.2.2\webapps\pdfdemo\WEB-INF" and then
mounted the "classes" directory from with NetBeans.  

Hope this helps.

Mit freundlichen Grüßen
William Pennoyer
Danet Internet Solutions GmbH
TalkTo: (06151) 868-846
FaxTo: (06151) 868-666 
MailTo: pennoyer@danet.de
WalkTo: Gutenbergstrasse 10 - 64331 

 <<Pennoyer, William.vcf>>