delve/Documentation/usage
aarzilli 5155ef047f proc,dwarf/line: support is_stmt and prologue_end flags
Go1.11 uses the is_stmt flag of .debug_line to communicate which
assembly instructions are good places for breakpoints, we should
respect this flag.

These changes were introduced by:
* https://go-review.googlesource.com/c/go/+/102435/

Additionally when setting next breakpoints ignore all PC addresses that
belong to the same line as the one currently under at the cursor. This
matches the behavior of gdb and avoids stopping multiple times at the
heading line of a for statement with go1.11.

Change: https://go-review.googlesource.com/c/go/+/110416 adds the
prologue_end flag to the .debug_line section to communicate the end of
the stack-split prologue. We should use it instead of pattern matching
the disassembly when available.

Fixes #550

type of interfaces
'c7cde8b'.
2018-06-11 11:09:02 -07:00
..
commands.md docs: Move wiki docs into Documentation dir 2016-02-19 10:47:46 -08:00
dlv_attach.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_connect.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_core.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_debug.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_exec.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_replay.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_run.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_test.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_trace.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv_version.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
dlv.md proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
README.md docs: Move wiki docs into Documentation dir 2016-02-19 10:47:46 -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.

Refer to the main usage document to further explore commands.