{"record":{"id":"20fe06a542e0a60f","repo":"go-delve/delve","slug":"step-failed-s","errorCode":null,"errorMessage":"step failed: %s","messagePattern":"step failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/proc/native/threads.go","lineNumber":75,"sourceCode":"\tif ok {\n\t\t// Clear the breakpoint so that we can continue execution.\n\t\terr = t.clearSoftwareBreakpoint(bp)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\t// Restore breakpoint now that we have passed it.\n\t\tdefer func() {\n\t\t\terr = t.dbp.writeSoftwareBreakpoint(t, bp.Addr)\n\t\t}()\n\t}\n\n\terr = procgrp.singleStep(t)\n\tif err != nil {\n\t\tif _, exited := err.(proc.ErrProcessExited); exited {\n\t\t\treturn err\n\t\t}\n\t\treturn fmt.Errorf(\"step failed: %s\", err.Error())\n\t}\n\treturn nil\n}\n\n// BinInfo returns information on the binary.\nfunc (t *nativeThread) BinInfo() *proc.BinaryInfo {\n\treturn t.dbp.bi\n}\n\n// Common returns information common across Process\n// implementations.\nfunc (t *nativeThread) Common() *proc.CommonThread {\n\treturn &t.common\n}\n\n// SetCurrentBreakpoint sets the current breakpoint that this\n// thread is stopped at as CurrentBreakpoint on the thread struct.\nfunc (t *nativeThread) SetCurrentBreakpoint(adjustPC bool) error {","sourceCodeStart":57,"sourceCodeEnd":93,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/proc/native/threads.go#L57-L93","documentation":"Error \"step failed: %s\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/proc/native/threads.go:75 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"}