Skip to content

proc: switch to goroutine stack if we make no progress on thread stack#3898

Merged
derekparker merged 1 commit into
go-delve:masterfrom
aarzilli:werstacks
Jan 9, 2025
Merged

proc: switch to goroutine stack if we make no progress on thread stack#3898
derekparker merged 1 commit into
go-delve:masterfrom
aarzilli:werstacks

Conversation

@aarzilli

@aarzilli aarzilli commented Jan 4, 2025

Copy link
Copy Markdown
Member

When creating a stack trace, if we make no progress with the normal
thread stack switch to the goroutine stack before giving up. This
improves stacktraces on the main thread of minidumps created on Windows
by WER.

Fixes #3824

When creating a stack trace, if we make no progress with the normal
thread stack switch to the goroutine stack before giving up. This
improves stacktraces on the main thread of minidumps created on Windows
by WER.

Fixes go-delve#3824

@derekparker derekparker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekparker derekparker merged commit c4ab92e into go-delve:master Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

windows/amd64: unable to debug minidumps created via GOTRACEBACK=wer

2 participants