mirror of
				https://github.com/go-delve/delve.git
				synced 2025-11-04 06:32:16 +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
 | 
					// 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 {
 | 
					func (dbp *DebuggedProcess) LoadInformation() error {
 | 
				
			||||||
	err := dbp.findExecutable()
 | 
						err := dbp.findExecutable()
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user