{"record":{"id":"d52866fa437d8d53","repo":"go-delve/delve","slug":"can-not-write-to-core-process","errorCode":null,"errorMessage":"can not write to core process","messagePattern":"can not write to core process","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/proc/core/core.go","lineNumber":184,"sourceCode":"\tbreakpoints proc.BreakpointMap\n}\n\n// thread represents a thread in the core file being debugged.\ntype thread struct {\n\tosThread\n\tp      *process\n\tcommon proc.CommonThread\n}\n\ntype osThread interface {\n\tRegisters() (proc.Registers, error)\n\tThreadID() int\n}\n\nvar (\n\t// ErrWriteCore is returned when attempting to write to the core\n\t// process memory.\n\tErrWriteCore = errors.New(\"can not write to core process\")\n\n\t// ErrShortRead is returned on a short read.\n\tErrShortRead = errors.New(\"short read\")\n\n\t// ErrContinueCore is returned when trying to continue execution of a core process.\n\tErrContinueCore = errors.New(\"can not continue execution of core process\")\n\n\t// ErrChangeRegisterCore is returned when trying to change register values for core files.\n\tErrChangeRegisterCore = errors.New(\"can not change register values of core process\")\n)\n\ntype openFn func(string, string) (*process, proc.Thread, error)\n\nvar openFns = []openFn{readLinuxOrPlatformIndependentCore, readAMD64Minidump}\n\n// ErrUnrecognizedFormat is returned when the core file is not recognized as\n// any of the supported formats.\nvar ErrUnrecognizedFormat = errors.New(\"unrecognized core format\")","sourceCodeStart":166,"sourceCodeEnd":202,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/proc/core/core.go#L166-L202","documentation":"Error \"can not write to core process\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/proc/core/core.go:184 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"}