Under Eclipse I can inspect expressions/variables in debug mode with Ctrl+Shift+I. In IntelliJ IDEA (Community Edition), I can add expressions/variables to the watches, but on the next debug they are lost.
Is there any way to inspect variables and expressions on the fly when I'm debugging?
Under Eclipse I can inspect expressions/variables in debug mode with Ctrl + Shift + I .
Configure keyboard shortcuts IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts. To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap. IntelliJ IDEA automatically suggests a predefined keymap based on your environment.
If you go to File -> Settings -> Keymap you can choose Eclipse from the dropdown list.
Quick evaluate expression
with Ctrl + Alt + F8 (or on a Mac: Cmd + Opt + F8) gives me exactly what I want.
Do you mean "Evaluate expression" action Alt + F8?
Many more useful shortcuts are in Intellij Reference Card.
Ctrl + Alt + F8 will work. This shortcut may trigger the Intel HD Graphics hotkey for resetting display settings.
Alt + Left Mouse Key
will also work.
If you want to view/edit the shortcuts, you can go to Settings
(Ctrl + Alt + S) -> Keymap
and search for Quick Evaluate Expression
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With