This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.0.1 (Build 201107282000) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.6.0_26 Runtime = Java HotSpot(TM) Client VM 20.1-b02 Unable to view "Evaluate Expression" window in any context. Have tried debugging main project, and stopping at a breakpoint. The option in the "Debug" menu remains greyed out.
I have seen this too but couldn't reproduce it. :(
I do not think I have ever seen that. Are the rest of debugger actions enabled? Like step actions? Do you see the green current thread in Debugging window with the stack frames when this happens? Please provide more information, steps to reproduce would be great.
Yes, I can access the step functions in the debugger (into, over, to cursor, continue). I can stop at breakpoints. However, the "Evaluate Expression" window/menu item is never available for use. Shouldn't I be able to use it like an "immediate" window while my application is running in debug mode? I've never been able to do that, yet.
According to the code, the "Evaluate Expression" action is enabled every time there is set a "current thread". This is the bold thread in the Debugging window. It's set automatically to the thread that hits a breakpoint, or can be switched by double-click or "Make Current" action on a desired thread in Debugging window. Works fine for me in 7.1 and 7.2 builds.
I see the very same bug. I am stopped at a breakpoint, I have clicked on the "main" thread, yet the option to choose Expression Evaluation remains dim. Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Java: 1.8.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 25.40-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-ea-b20 System: Mac OS X version 10.9.5 running on x86_64; UTF-8; en_US (nb) User directory: /Users/dr2chase/Library/Application Support/NetBeans/8.0 Cache directory: /Users/dr2chase/Library/Caches/NetBeans/8.0 I can see all the values of all the variables, but I cannot figure out how to type in expressions I would like to evaluate. I'll add an attachment showing the (visual) state of my debugging session.
Created attachment 151606 [details] Shows my debugging session, so as to avoid inevitable "stupid user, have you tried all these obvious things?" replies.