Files
Alessandro Arzilli 1c434de12e service/rpc1: delete APIv1 (#3881)
We deprecated APIv1 and said we were going to remove it. Here it is.
2024-12-16 12:30:47 -08:00
..
2024-12-16 12:30:47 -08:00
2024-12-16 12:30:47 -08:00
2024-12-16 12:30:47 -08:00
2024-12-16 12:30:47 -08:00

Using Delve

You can invoke Delve in multiple ways, depending on your usage needs. Delve makes every attempt to be user-friendly, ensuring the user has to do the least amount of work possible to begin debugging their program.

The available commands can be grouped into the following categories:

The above list may be incomplete. Refer to the auto-generated complete usage document to further explore all available commands.

Environment variables

Delve also reads the following environment variables:

  • $DELVE_EDITOR is used by the edit command (if it isn't set the $EDITOR variable is used instead)
  • $DELVE_PAGER is used by commands that emit large output (if it isn't set the $PAGER variable is used instead, if neither is set more is used)
  • $TERM is used to decide whether or not ANSI escape codes should be used for colorized output
  • $DELVE_DEBUGSERVER_PATH is used to locate the debugserver executable on macOS