How to Debug Web-App in NetBeans IDE

Hi,

i have to debug my Webprojekt, but i don't get the debugger to run.

I tried the following:

- Create a breakpoint in my jsp file

- Click on Debug Main Projekt / Click on Debug file / Click on Debug Projekt

But nothing happens. Tomcat starts, my browser starts, the page is displayed.

Could you please help me?

[356 byte] By [sonixx1408a] at [2007-11-27 8:54:44]
# 1
Check that the line of code where you have placed the breakpoint executes while the page loadsIf possible try some other editor (Eclipse) or post your code snippet here
VivekChauhana at 2007-7-12 21:14:34 > top of Java-index,Java Essentials,Java Programming...
# 2
Yes, the code line is executed. I tried with very simple things to test the debugger, but it does nothing.
sonixx1408a at 2007-7-12 21:14:34 > top of Java-index,Java Essentials,Java Programming...
# 3
Can you mention the version of NetBeans, JDK and bundled Tomcat (if you are using it)
VivekChauhana at 2007-7-12 21:14:34 > top of Java-index,Java Essentials,Java Programming...
# 4
Sure, i use NetBeans IDE 5.5.1, the latest JDK (6***) Tomcat 5.5.17 under Windows Vista 32bit
sonixx1408a at 2007-7-12 21:14:34 > top of Java-index,Java Essentials,Java Programming...
# 5

I tested JSP debugging on Netbeans 5.5 and it worked for me perfectly for both JSP scriptlet and a normal html line so it should also work with 5.5.1 ideally (i m an eclipse fan and just open Netbeans for this question :)

I think the issue is with some configuration of Netbeans, so if possible reinstall NB(after uninstalling it first completely) (I was unable to find anything helpful in Tools->Options->Advanced Options)

If possible, also provide the code specifying the line you want to debug.

null

VivekChauhana at 2007-7-12 21:14:34 > top of Java-index,Java Essentials,Java Programming...