13 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
7372730119 feat(main): enhance demonstration of linked list operations with count tracking 2026-07-09 18:07:08 -04:00
mynameisdeleted
b93b7f204f feat(debug): enhance type hinting in gdb and Python debug visualizers 2026-07-09 16:55:16 -04:00
mynameisdeleted
4f693f8cff feat(debug): add Python debug visualizer and enhance gdb integration 2026-07-09 16:08:01 -04:00
mynameisdeleted
67e9a0d488 feat(debug): improve node collision handling and enhance unmatched-root card behavior 2026-07-09 15:53:14 -04:00
mynameisdeleted
7fbdb51be7 feat(debug): add Python debug visualizer and integrate with existing tools 2026-07-09 14:17:12 -04:00
mynameisdeleted
9b75caba10 feat(debug): implement collision resolution for node overlap in visualizer 2026-07-09 13:52:53 -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
7630ab9050 feat(debug): enhance node table visualizer with force-directed layout and toolbar controls 2026-07-09 12:36:43 -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
mynameisdeleted
273d4dbf2b Enhance debug visualization for linked list with custom node table view 2026-07-09 09:17:12 -04:00
mynameisdeleted
5f5599009c Add Rust and C++ linked list implementations with build/debug configs
Rust version in src/main.rs (Cargo project) and a C++ port in cpp/main.cpp
using raw pointers, both with VS Code build tasks and gdb-based debug
configs. Vendors vscode-debug-visualizer and visualization as submodules
for reference while building a custom node-table graph visualizer.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 08:05:08 -04:00