Skip to content

Interactive Console Updates for Multi-thread/Single-Rank Debug Support#1535

Draft
kpgriesser wants to merge 36 commits intosstsimulator:develfrom
tactcomplabs:iconsole
Draft

Interactive Console Updates for Multi-thread/Single-Rank Debug Support#1535
kpgriesser wants to merge 36 commits intosstsimulator:develfrom
tactcomplabs:iconsole

Conversation

@kpgriesser
Copy link
Copy Markdown
Contributor

This PR replaces #1507 to track the interactive console feature branch development.
We decided that it would be more efficient to refer to the live feature branch rather than a snapshot (which has since gotten out of date).

To recap: This PR provides a set of updates to the interactive debug console, object mapping support, and bug fixes.

  • Ensure signal command line flags are processed before the checkpoint directory is created and have it fail immediately if the --checkpoint-prefix PREFIX is not valid.
  • Add support for user defined commands in the interactive console, consisting of a named sequence of commands and supporting nested definitions
  • Single-rank, multithreaded interactive debug console support. In multithreaded simulations, interactive console is invoked from the syncManager, starting in thread 0. - - The user can navigate the object map, set watchpoints, etc. within a thread. The “info” command provides the rank, thread ID, and process ID for threads and the “thread” command switches control between threads.

skuntz and others added 6 commits December 16, 2025 10:21
* Support for single-rank, multithreaded interactive debug console.
  Breaks into interactive console is at a sync point and is managed
  by the syncManager. It breaks into the interactive console when
  any thread has triggered the interactive console and starts in
  thread 0 initially. The user can navigate the object map,
  set watchpoints, etc. for components within the thread and switch
  between threads to access other components.
* Support for user-defined commands in the interactive debug console
  which are a named sequence of commands and can be nested.
* Updates to the parsing of --checkpoint-prefix and creation of the
  checkpoint directory. Ensure that the signal flags are handled
  before the checkpoint directory is created and fails immediately
  if the PREFIX is not valid.
@github-actions github-actions bot added AT: WIP Mark PR as a Work in Progress (No Autotesting Performed) AT: CLANG-FORMAT FAIL labels Jan 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 8, 2026

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

@kpgriesser kpgriesser marked this pull request as draft January 8, 2026 23:10
@kpgriesser kpgriesser changed the title Interactive Console Updates Interactive Console Updates for Multi-thread/Single-Rank Debug Support Jan 8, 2026
@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

1 similar comment
@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

…lete, and confirm commands (#35)

* Multithreaded support for shared replay, logging, autocomplete, and confirm

* Fix missing headers in simpleDebug

* clang-format
@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

…ls in the longest matching string prefix. On the 2nd tab: Lists all matching completion strings (#34)
@github-actions github-actions bot added AT: CLANG-FORMAT PASS and removed AT: WIP Mark PR as a Work in Progress (No Autotesting Performed) AT: CLANG-FORMAT FAIL labels Jan 22, 2026
@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - PASSED

@sst-autotester
Copy link
Copy Markdown
Contributor

Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
NO INSPECTION HAS BEEN PERFORMED ON THIS PULL REQUEST! - This PR must be inspected by setting label 'AT: PRE-TEST INSPECTED'.

@github-actions github-actions bot added AT: WIP Mark PR as a Work in Progress (No Autotesting Performed) and removed AT: WIP Mark PR as a Work in Progress (No Autotesting Performed) labels Jan 22, 2026
@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

…nt directly (#50)

* Warning for EmptyRankSync when no cross-rank links

* Return result string from remote functions

* Add confirm flag to debug out
@github-actions
Copy link
Copy Markdown

CLANG-FORMAT TEST - FAILED (on last commit):
Run > ./scripts/clang-format-test.sh using clang-format v20 to check formatting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT: CLANG-FORMAT FAIL AT: WIP Mark PR as a Work in Progress (No Autotesting Performed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants