Discussion:
Why can't I debug a JSP?
Franklin Phan
2009-02-27 20:33:28 UTC
Permalink
BTW, I'm using NB 6.5.



From: Franklin Phan
Sent: Friday, February 27, 2009 12:33 PM
To: '***@netbeans.org'
Subject: Why can't I debug a JSP?



The "Debug File" in the context menu is disabled.

I also cannot set breakpoints in the JSP, which contains much Java code
in scriptlets. Why is this?
Franklin Phan
2009-02-27 20:32:46 UTC
Permalink
The "Debug File" in the context menu is disabled.

I also cannot set breakpoints in the JSP, which contains much Java code
in scriptlets. Why is this?
Jindrich Sedek
2009-03-02 09:50:38 UTC
Permalink
Hi,

what application type do you have? Could you send as a small example
application where you can reproduce the problem? What OS are you using?

Debuging of JSPs should work well in 6.5 I don't know of any serious
issue in this area.

Thanks
Jindra
BTW, I’m using NB 6.5.
*From:* Franklin Phan
*Sent:* Friday, February 27, 2009 12:33 PM
*Subject:* Why can't I debug a JSP?
The “Debug File” in the context menu is disabled.
I also cannot set breakpoints in the JSP, which contains much Java code
in scriptlets. Why is this?
maxmohave
2009-03-05 00:57:48 UTC
Permalink
I had the same problem, and noticed that at the bottom of my jsp window I had
the following
message in red "....some of the scriplets editing features may not be
available" or something close to that.

Looking at this same forum I saw that you add to add the jar file
"servlet-api.jar". When I added this
the red went away.

but the big bonus is I could then debug in my jsp scriptlet (in yes I know
scriptlets are not cool) but I could also debug my regular jsp code.

aloha,
Post by Jindrich Sedek
Hi,
what application type do you have? Could you send as a small example
application where you can reproduce the problem? What OS are you using?
Debuging of JSPs should work well in 6.5 I don't know of any serious
issue in this area.
Thanks
Jindra
BTW, I’m using NB 6.5.
*From:* Franklin Phan
*Sent:* Friday, February 27, 2009 12:33 PM
*Subject:* Why can't I debug a JSP?
The “Debug File” in the context menu is disabled.
I also cannot set breakpoints in the JSP, which contains much Java code
in scriptlets. Why is this?
--
View this message in context: http://www.nabble.com/RE%3A-Why-can%27t-I-debug-a-JSP--tp22254218p22343118.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
Loading...