Evaluate expression
You can execute expressions or reassign values for variables while your script is stopped by a breakpoint. The Evaluate Expression functionality helps you to obtain additional details about the program state or test various scenarios at runtime.
• If the expression is present in the code, hold Alt (on Windows and Linux) or ⌥ (on macOS) and click it. If you want to evaluate a specific code fragment, select it before clicking.
• To evaluate an arbitrary expression, select Run | Debugging Actions | Evaluate Expression. A separate dialog opens that supports various constructs including loops, assignments, lambdas, and so on.
반응형
'개발 > 개발 기타' 카테고리의 다른 글
[Tip of the Day] IntelliJ : Surround code fragments (0) | 2023.07.18 |
---|---|
[Tip of the Day] IntelliJ : The Rename refactoring (0) | 2023.07.17 |
[Tip of the Day] IntelliJ (0) | 2023.07.13 |
[Tip of the Day] IntelliJ (0) | 2023.07.13 |
[Tip of the Day] IntelliJ (0) | 2023.07.11 |