Skip to content

debug agent and apply in context - tutorials and tests, also bugfixes#2121

Merged
borisbat merged 7 commits into
masterfrom
and-even-more-tutorials
Feb 22, 2026
Merged

debug agent and apply in context - tutorials and tests, also bugfixes#2121
borisbat merged 7 commits into
masterfrom
and-even-more-tutorials

Conversation

@borisbat
Copy link
Copy Markdown
Collaborator

No description provided.

…bugAgentInstance members so debugAgent is destroyed before\n debugAgentContext (agent lives on context heap)\n- Add null-check guard in for_each_debug_agent to skip entries with\n null debugAgent during iteration\n- Add null-check in shutdownDebugAgent inner onUninstall loop\n- Explicit debugAgent.reset() before contexts in shutdownDebugAgent\n- Fix uninstallCppDebugAgent to move+reset before erase\n- Add deleteDebugAgent / delete_debug_agent_context binding"
- Each test file now cleans up its agent via delete_debug_agent_context
  (6 new cleanup tests, 52 total tests)
- Tutorial 45: new Section 9 demonstrating agent shutdown + cleanup in main
- RST doc: new 'Shutting down a debug agent' section + quick reference entry
- Added document_module_debugapi() to das2rst.das with 9 logical groups:
  Agent lifecycle, Cross-context invocation, Agent construction,
  Agent tick/state collection, Instrumentation, Data and stack walking,
  Context inspection, Breakpoints, Memory
- Created 55+ handmade documentation files for all debugapi symbols:
  3 classes, 6 structures with per-field docs, 4 annotations
  (including Prologue with 7 field descriptions), ~35 functions
- Added module-debugapi.rst description file
- Added debugapi.rst to sec_testing.rst toctree (Testing and Debugging)
- Generated debugapi.rst and detail/debugapi.rst via das2rst (no stubs)
- Verified: das2rst EXIT:0, Sphinx -W (warnings-as-errors) EXIT:0
@borisbat borisbat merged commit 73802b9 into master Feb 22, 2026
44 checks passed
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