6 Commits

Author SHA1 Message Date
mynameisdeleted
9556aa08a7 Add unit tests for py_debug_graph module
This commit introduces a comprehensive suite of unit tests for the
py_debug_graph module, which is responsible for building debug graphs
in Python. The tests cover various scenarios including linked lists,
cycles, scalar values, and the handling of local and global variables
in the debugging context. Additionally, it verifies the behavior of
the debug_graph function and ensures that the builtins.root patch
works as intended. These tests aim to enhance the reliability and
robustness of the debugging functionality.
2026-07-09 19:31:14 -04:00
mynameisdeleted
4f693f8cff feat(debug): add Python debug visualizer and enhance gdb integration 2026-07-09 16:08:01 -04:00
mynameisdeleted
7fbdb51be7 feat(debug): add Python debug visualizer and integrate with existing tools 2026-07-09 14:17:12 -04:00
mynameisdeleted
cfd638f19b feat(debug): enhance linked list demo with item count and message output
feat(debug): improve GDB pretty-printer support for structured types
fix(debug): update dump_debug_graph script to reflect changes in main.cpp
feat(visualization): add type hint display to node table visualizer
2026-07-09 13:47:36 -04:00
mynameisdeleted
43e1eaf749 feat(debug): enhance debug graph functionality with auto-discovery of local and global variables 2026-07-09 13:12:57 -04:00
mynameisdeleted
a8d105005e feat(debug): add GDB-based debug visualizer for linked lists
Replace the custom toDebugGraph() method that generated JSON directly in C++ with a generic GDB Python script (debug_graph.py). The script traverses pointers and structures to build a graph representation for the VS Code Debug Visualizer, enabling external pointer display and more extensible visualization.

Update launch configurations to load the script and to disable array/string truncation (needed for the visualizer JSON). Add a debugAdapterConfigurations entry in settings.json to use the expression template $debug_graph(${expr}) for the cppdbg adapter.
2026-07-09 12:14:27 -04:00