{"record":{"id":"20db803e3d55d6d3","repo":"go-delve/delve","slug":"not-implemented-for-multiple-targets","errorCode":null,"errorMessage":"not implemented for multiple targets","messagePattern":"not implemented for multiple targets","errorType":"error_code","errorClass":"ErrNotImplementedWithMultitarget","httpStatus":null,"severity":"error","filePath":"service/debugger/debugger.go","lineNumber":53,"sourceCode":"\nvar (\n\t// ErrCanNotRestart is returned when the target cannot be restarted.\n\t// This is returned for targets that have been attached to, or when\n\t// debugging core files.\n\tErrCanNotRestart = errors.New(\"can not restart this target\")\n\n\t// ErrNotRecording is returned when StopRecording is called while the\n\t// debugger is not recording the target.\n\tErrNotRecording = errors.New(\"debugger is not recording\")\n\n\t// ErrCoreDumpInProgress is returned when a core dump is already in progress.\n\tErrCoreDumpInProgress = errors.New(\"core dump in progress\")\n\n\t// ErrCoreDumpNotSupported is returned when core dumping is not supported\n\tErrCoreDumpNotSupported = errors.New(\"core dumping not supported\")\n\n\t// ErrNotImplementedWithMultitarget is returned for operations that are not implemented with multiple targets\n\tErrNotImplementedWithMultitarget = errors.New(\"not implemented for multiple targets\")\n)\n\n// Debugger service.\n//\n// Debugger provides a higher level of\n// abstraction over proc.Process.\n// It handles converting from internal types to\n// the types expected by clients. It also handles\n// functionality needed by clients, but not needed in\n// lower lever packages such as proc.\ntype Debugger struct {\n\tconfig *Config\n\t// arguments to launch a new process.\n\tprocessArgs []string\n\n\ttargetMutex sync.Mutex\n\ttarget      *proc.TargetGroup\n","sourceCodeStart":35,"sourceCodeEnd":71,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/service/debugger/debugger.go#L35-L71","documentation":"Error \"not implemented for multiple targets\" thrown in go-delve/delve.","triggerScenarios":"Thrown at service/debugger/debugger.go:53 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a23773e6c31361e43246bc43a424ee009679b174","analyzedAt":"2026-08-31T15:12:45.221Z","schemaVersion":2},"datasetVersion":"2026-08-31T22:30:34.772Z"}