mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 18:57:18 +08:00 
			
		
		
		
	service/debugger: Fix typo
This commit is contained in:
		| @ -25,9 +25,9 @@ import ( | |||||||
| // functionality needed by clients, but not needed in | // functionality needed by clients, but not needed in | ||||||
| // lower lever packages such as proc. | // lower lever packages such as proc. | ||||||
| type Debugger struct { | type Debugger struct { | ||||||
| 	config  *Config | 	config       *Config | ||||||
| 	processMutex sync.Mutex | 	processMutex sync.Mutex | ||||||
| 	process *proc.Process | 	process      *proc.Process | ||||||
| } | } | ||||||
|  |  | ||||||
| // Config provides the configuration to start a Debugger. | // Config provides the configuration to start a Debugger. | ||||||
| @ -406,7 +406,7 @@ func (d *Debugger) Command(command *api.DebuggerCommand) (*api.DebuggerState, er | |||||||
| 		log.Printf("switching to goroutine %d", command.GoroutineID) | 		log.Printf("switching to goroutine %d", command.GoroutineID) | ||||||
| 		err = d.process.SwitchGoroutine(command.GoroutineID) | 		err = d.process.SwitchGoroutine(command.GoroutineID) | ||||||
| 	case api.Halt: | 	case api.Halt: | ||||||
| 		// RequestManualStop alread called | 		// RequestManualStop already called | ||||||
| 	} | 	} | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		return nil, err | 		return nil, err | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Derek Parker
					Derek Parker