{"record":{"id":"387b6ee92015bed6","repo":"go-delve/delve","slug":"not-connected-to-an-accept-multiclient-server","errorCode":null,"errorMessage":"not connected to an --accept-multiclient server","messagePattern":"not connected to an --accept-multiclient server","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/terminal/command.go","lineNumber":3160,"sourceCode":"\t}\n\n\tdisasmPrint(disasm, t.stdout, showHeader)\n\treturn nil\n}\n\n// ExitRequestError is returned when the user\n// exits Delve.\ntype ExitRequestError struct{}\n\nfunc (ere ExitRequestError) Error() string {\n\treturn \"\"\n}\n\nfunc exitCommand(t *Term, ctx callContext, args string) error {\n\tswitch args {\n\tcase \"-c\":\n\t\tif !t.client.IsMulticlient() {\n\t\t\treturn errors.New(\"not connected to an --accept-multiclient server\")\n\t\t}\n\t\tbps, _ := t.client.ListBreakpoints(false)\n\t\thasUserBreakpoints := false\n\t\tfor _, bp := range bps {\n\t\t\tif bp.ID >= 0 {\n\t\t\t\thasUserBreakpoints = true\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t\tif hasUserBreakpoints {\n\t\t\tyes, _ := yesno(t.line, \"There are breakpoints set, do you wish to quit and continue without clearing breakpoints? [Y/n] \", \"yes\")\n\t\t\tif !yes {\n\t\t\t\treturn nil\n\t\t\t}\n\t\t}\n\t\tt.quitContinue = true\n\tcase \"-d\":\n\t\tt.detachNoKill = true","sourceCodeStart":3142,"sourceCodeEnd":3178,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/terminal/command.go#L3142-L3178","documentation":"Error \"not connected to an --accept-multiclient server\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/terminal/command.go:3160 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-31T19:17:28.585Z"}