Merge pull request #3314 from jsternberg/dap-error-fail-on-next

dap: always return the error from execution if we paused on an error and resume
This commit is contained in:
Tõnis Tiigi 2025-07-14 13:32:31 -07:00 committed by GitHub
commit 60d96d3495
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ func (t *thread) Evaluate(ctx Context, c gateway.Client, ref gateway.Reference,
select {
case step = <-t.pause(ctx, err, event):
if err != nil {
return err
}
case <-ctx.Done():
return context.Cause(ctx)
}