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?

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


Related Resources

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