Customize views
During a debugging session, GoLand shows you information about your variables, types, threads, frames, and more. However, you may want to focus on specific runtime details and have the data filtered or rendered in a specific format. In this scenario, GoLand lets you customize the how the debugger's output appears Debug tool window and the editor.
Customize data view
GoLand allows you to configure which information about the variables you want to get.
Unless explicitly specified, these preferences apply to all the places where the variable values are displayed (the Variables tab, inline values view, tooltips, and so on).
Show/hide object types
You can select whether to display the type of the object for the corresponding reference-type variables.
Right-click anywhere in the Variables tab and turn Show types on or off.
Configure display of specific types
You can fine-tune how particular types are displayed.
Press Ctrl+Alt+S to open settings and then select
.
Item | Description |
---|---|
Default integer format | Set the default numbering system for integers: HEX (Hexadecimal), DEC (Decimal), BIN (Binary). |
Show types | Display types of variables. For more information, refer to Show/hide object types. |
Show pointer addresses | Display pointer addresses. |
Enable String() view | Renders a value in the debugger. The debugger's value rendering algorithm follows these steps:
For more information about current limitations, refer to the Delve documentation on the call command. |