cupakob
cupakob

Reputation: 8541

Eclipse inspection (Ctrl + Shift + I) equivalent in IntelliJ IDEA (Community Edition)

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?

Upvotes: 32

Views: 37275

Answers (5)

Jibin TJ
Jibin TJ

Reputation: 446

In mac, alt+clicking variables help !

Upvotes: 0

Vinit Solanki
Vinit Solanki

Reputation: 2023

Ctrl + Alt + 8 in case of Intellij Idea 2019.2 and Ubuntu 18.04.

Upvotes: 0

Sushant Gaikwad
Sushant Gaikwad

Reputation: 91

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

Upvotes: 5

cupakob
cupakob

Reputation: 8541

Quick evaluate expression with Ctrl + Alt + F8 (or on a Mac: Cmd + Opt + F8) gives me exactly what I want.

Upvotes: 44

Vic
Vic

Reputation: 22041

Do you mean "Evaluate expression" action Alt + F8?

Many more useful shortcuts are in Intellij Reference Card.

Upvotes: 10

Related Questions