Skip to content

feat(event formatter): list every thread, with state and frame counts - #124206

Draft
shayna-ch wants to merge 1 commit into
masterfrom
shayna-ch/thread-overview
Draft

feat(event formatter): list every thread, with state and frame counts#124206
shayna-ch wants to merge 1 commit into
masterfrom
shayna-ch/thread-overview

Conversation

@shayna-ch

Copy link
Copy Markdown
Member

The section skipped any thread without a stacktrace, never rendered state, and gave no frame counts. On a mobile crash that is the worst case: a 39 thread Unreal crash rendered as a few stacktraces with the crashed thread missing entirely, because it had zero frames.

Lists every thread now with its id, state, flags and frame count, which is what the MCP's own thread table carries. Splits the count cap in two: max_threads_listed bounds the listing, max_thread_stacktraces bounds how many carry a stacktrace, since the stacktraces are what cost. The old max_threads did both jobs at 8 and so had to drop threads to stay small.

Flags replace the Crashed field, matching the MCP, which also surfaces current.

The section skipped any thread without a stacktrace, never rendered state, and
gave no frame counts. On a mobile crash that is the worst case: a 39 thread
Unreal crash rendered as a few stacktraces with the crashed thread missing
entirely, because it had zero frames.

Lists every thread now with its id, state, flags and frame count, which is what
the MCP's own thread table carries. Splits the count cap in two:
max_threads_listed bounds the listing, max_thread_stacktraces bounds how many
carry a stacktrace, since the stacktraces are what cost. The old max_threads
did both jobs at 8 and so had to drop threads to stay small.

Flags replace the Crashed field, matching the MCP, which also surfaces
`current`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant