Trouble with inspect/display/etc. in Java Debugger [message #220595] |
Mon, 09 July 2007 15:49 |
Eclipse User |
|
|
|
Originally posted by: mgraham.sscinc.com
I'm having trouble with inspect and similar things (e.g., display,
watchpoints, etc.) running the Java debugger. It almost never works (which
means occasionally it does work).
For example: at a breakpoint inside a method, the local variables and
method parameters are displayed correctly in the Variables window.
However, if I select one of them and try to display/inspect it, I get:
"result
Evaluation failed. Reason(s):
Evaluations must contain either an expression or a block of well-formed
statements"
Which looks like it can't parse the name ('result'). 'result' is properly
displayed in the variables window. (Obviously, similar things happen on
more complex and useful expressions.)
I thought if I deleted all terminated executions before starting a debug
run it would work reliably. (Thinking it's some kind of scoping problem).
But that doesn't always work.
What am I doing wrong?
|
|
|
|
Powered by
FUDForum. Page generated in 0.06063 seconds