debug agent and apply in context - tutorials and tests, also bugfixes#2121
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.