mirror of
https://github.com/go-delve/delve.git
synced 2025-11-03 05:47:34 +08:00
Improve documentation of LoadInformation()
This commit is contained in:
@ -85,7 +85,10 @@ func NewDebugProcess(pid int) (*DebuggedProcess, error) {
|
||||
}
|
||||
|
||||
// Finds the executable from /proc/<pid>/exe and then
|
||||
// uses that to parse the Go symbol table.
|
||||
// uses that to parse the following information:
|
||||
// * Dwarf .debug_frame section
|
||||
// * Dwarf .debug_line section
|
||||
// * Go symbol table.
|
||||
func (dbp *DebuggedProcess) LoadInformation() error {
|
||||
err := dbp.findExecutable()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user