Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
What do I need to do so I can inspect a variable when debugging my jsp’s? I have no such option in the debugger. I have used other IDE’s which support this so I know it’s possible.
Jerry,
Usually you can set a breakpoint, then find the variable and “watch” it, which will add it to your watch list and you can see its value change as you step through your code.
Not really. I forgot to put it in my original question but the main thing would be evaluating methods. You know, highlighting an expression and doing inspect the same way you can do with Java classes in debug. I have seen this done with JSP’s in WSAD, JBuilder and IDEA and was wondering if there was a way with MyEclipse. I’m deploying to Tomcat BTW.
You know, highlighting an expression and doing inspect the same way you can do with Java classes in debug.
Have you tried it? I’m not aware of any debugging features that are available to Java classes and not to JSP pages… please give me an example of what you mean.
Here are some screenshots detailing what I’m talking about.
Here I am debugging a java class. You see the many debug options I have. The main one I like is inspect so I can see what the result of a method call would be.
Ahhh, I see what you mean. I will file this enhancement, in the mean time you can work around this by “watching” the expression you want evaluated, for example “request.getSession(true)” and it will be added to your watch list and provide a value for it like ‘inspect’ does.