Skip to content

Fix TTD sidebar widgets showing on non-TTD platforms#1057

Open
xusheng6 wants to merge 1 commit intodevfrom
test_ttd_sidebar_classifier
Open

Fix TTD sidebar widgets showing on non-TTD platforms#1057
xusheng6 wants to merge 1 commit intodevfrom
test_ttd_sidebar_classifier

Conversation

@xusheng6
Copy link
Copy Markdown
Member

@xusheng6 xusheng6 commented Apr 9, 2026

Summary

  • Fixes TTD UI Displays when debugging platforms with no support for TTD #1055 — TTD sidebar widgets (Events, Memory, Calls, Bookmarks) were appearing during any active debug session, including on platforms like macOS that don't support TTD
  • Adds a requireTTD boolean parameter to ActiveDebugSessionSidebarContentClassifier that additionally checks IsTTD() before showing content
  • The 4 TTD widget types now pass requireTTD=true; non-TTD widgets are unaffected (default is false)

Test plan

  • Debug a non-TTD target (e.g. LLDB on macOS) and verify the 4 TTD sidebar widgets do not appear
  • Debug a TTD target on Windows and verify the 4 TTD sidebar widgets still appear correctly
  • Verify non-TTD sidebar widgets (Modules, ThreadFrames, DebugInfo) still appear during any debug session

🤖 Generated with Claude Code

Add a requireTTD parameter to ActiveDebugSessionSidebarContentClassifier
so TTD widgets only appear when the debug session actually supports TTD,
instead of appearing during any active debug session.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

TTD UI Displays when debugging platforms with no support for TTD

1 participant