Evaluate Expression During Debugging

Select your code and execute it, in the right context.

Get the right answer in the right context, no typing.

Stopped at a breakpoint and want to see a result, either typed in or from a line fragment?

How to use:

Invoke Evaluate Expression via ⌥F8 (macOS) / Alt+F8 (Windows/Linux).


Related Resources

Code completion in Evaluate Expression, Watches or Conditional Breakpoints
The debugger also has code completion capabilities.
Code vision
Focus on your code while getting additional information about it.
Handle Go errors by using a Postfix Completion
Keep writing code as you would and use the Postfix Completion to generate the boilerplate