diff --git a/service/dap/server.go b/service/dap/server.go index 4e61361d..c3f4d58f 100644 --- a/service/dap/server.go +++ b/service/dap/server.go @@ -3775,7 +3775,12 @@ func (s *Session) runUntilStopAndNotify(command string, allowNextStateChange *sy if strings.HasPrefix(bp.Name, instructionBpPrefix) { stopped.Body.Reason = "instruction breakpoint" } - stopped.Body.HitBreakpointIds = []int{bp.ID} + // Filter out internal delve breakpoints (panic, fatal, hardcoded, etc.) + if bp.ID > 0 { + stopped.Body.HitBreakpointIds = []int{bp.ID} + } else { + stopped.Body.HitBreakpointIds = []int{} + } } }