{"record":{"id":"4720d538cefd1297","repo":"go-delve/delve","slug":"hardware-breakpoints-not-implemented","errorCode":null,"errorMessage":"hardware breakpoints not implemented","messagePattern":"hardware breakpoints not implemented","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/proc/breakpoints.go","lineNumber":198,"sourceCode":"\treturn wtype&WatchRead != 0\n}\n\n// Write returns true if the hardware breakpoint should trigger on memory writes.\nfunc (wtype WatchType) Write() bool {\n\treturn wtype&WatchWrite != 0\n}\n\n// Size returns the size in bytes of the hardware breakpoint.\nfunc (wtype WatchType) Size() int {\n\treturn int(wtype >> 4)\n}\n\n// withSize returns a new HWBreakType with the size set to the specified value\nfunc (wtype WatchType) withSize(sz uint8) WatchType {\n\treturn WatchType((sz << 4) | uint8(wtype&0xf))\n}\n\nvar ErrHWBreakUnsupported = errors.New(\"hardware breakpoints not implemented\")\n\nfunc (bp *Breakpoint) String() string {\n\treturn fmt.Sprintf(\"Breakpoint %d at %#v %s:%d\", bp.LogicalID(), bp.Addr, bp.File, bp.Line)\n}\n\nfunc (bp *Breakpoint) LogicalID() int {\n\tfor _, breaklet := range bp.Breaklets {\n\t\tif breaklet.Kind == UserBreakpoint {\n\t\t\treturn breaklet.LogicalID\n\t\t}\n\t}\n\treturn NoLogicalID\n}\n\n// VerboseDescr returns a string describing parts of the breakpoint struct\n// that aren't otherwise user visible, for debugging purposes.\nfunc (bp *Breakpoint) VerboseDescr() []string {\n\tr := []string{}","sourceCodeStart":180,"sourceCodeEnd":216,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/proc/breakpoints.go#L180-L216","documentation":"Error \"hardware breakpoints not implemented\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/proc/breakpoints.go:198 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"}