watch expression in debug mode
I'm new to eclipse and trying to get hang of debugging. When I execute my code in debug mode this is what I see at local variables:
num = 45632
when I right click on "num" in the variables view and select inspect, I see "num" and "45632" in the expressions view. However, when I right click there and select Convert to Watch Expression I get this message:
"Evaluations must contain either an expression or a block of well-formed statements"
Similarly, when I highlight "num" in the editor and right click inpsect, I get the same error message. I tried to use the display view, typed in num without a semicolon, but that didn't work either. Any help?