# Evaluate Expression

> **TL;DR**
> `Run | Debugging Actions | Evaluate Expression`
>
>
>
> `Editor Context Menu | Evaluate Expression`
>
>
>
> `Alt+F8` (Windows), `⌥ F8` (macOS), `⌥ F8` (IntelliJ IDEA Classic (macOS)), `⌘ ⌃ L` (macOS System Shortcuts), `Alt+F8` (XWin), `Alt+Shift+8` (GNOME), `Alt+Shift+8` (KDE), `Alt+F8` (Emacs), `Alt+F8` (Sublime Text), `⌥ F8` (Sublime Text (macOS)), `⌥ F8` (Xcode), `Shift+F9` (Visual Studio), `⇧ F9` (Visual Studio (macOS)), `Shift+F9` (ReSharper), `⇧ F9` (ReSharper (macOS)), `Alt+F8` (QtCreator), `⌥ F8` (QtCreator (macOS)), `Ctrl+F9` (NetBeans), `Ctrl+U` (Eclipse), `⌘ U` (Eclipse (macOS)) ![Evaluate expression](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.debugger.evaluateExpression.svg)

Use this dialog to [evaluate
expressions](examining-suspended-program.html#evaluate-arbitrary) during a debug session.

| Item | Description |
| --- | --- |
| Statements to Evaluate |     Type the group of statements to be evaluated. If a code fragment is selected in the editor, this field displays selection.      > **Tip:** > This field is available in the Code Fragment Mode.    |
| Result | Here the results are displayed. |
| Evaluate | Click this button to evaluate the current expression or code fragment. |
| Close | Click this button to close the dialog. |

## See also

### Reference

[Debug tool window](debug-tool-window.html)

