Skip to content

feat(engine): warn once about threads dropped for a missing PC or SP - #20

Merged
ricardojrdez merged 2 commits into
mainfrom
merge/thread-drop-warning
Nov 20, 2026
Merged

ricardojrdez merged 2 commits into
mainfrom
merge/thread-drop-warning

Conversation

@ricardojrdez

Copy link
Copy Markdown
Member

Brings in pr/thread-drop-warning (also proposed upstream as MemorySlice#6).

Threads whose register file lacks a PC or SP are dropped from the capture (spec 5.7). They used to be logged at DEBUG only; now one WARNING lists them (tid + missing register, capped at 8), with its own message when no thread survives. AcquireResult.threads_dropped counts them and the summary prints Threads : N (M dropped: no PC/SP).

Only conflict was the CHANGELOG [Unreleased] section. Local: 2873 passed, 23 skipped ([dev,emu,graph]); ruff clean.

@ricardojrdez
ricardojrdez merged commit d067c07 into main Nov 20, 2026
7 checks passed
@ricardojrdez
ricardojrdez deleted the merge/thread-drop-warning branch November 20, 2026 11:03
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.

1 participant