Data Visualized as Graph while Debugging
Visualizing data as a graph during debugging makes it clear which variables share the same underlying data. In contrast, simply printing variable values hides this sharing. Failing to recognize shared data is a common source of bugs.
memory_graph: https://pypi.org/project/memory-graph/
is a tool that does this, but it is Python only. It hooks into a debugger using a ‘watch’. This is an example in Visual Studio Code:
https://www.reddit.com/r/vscode/comments/1kl8fk8/python_data_visualizer/
Python Tutor: https://pythontutor.com/
is a tool that does this for different languages, but runs on a website and can’t be hooked into a debugger.
I would like to be able to visualize my data as a graph in the PyCharm debugger for different languages.
请先登录再写评论。
Hi Bterwijn,
I have created a feature request here https://youtrack.jetbrains.com/issue/PY-81373
Please vote for it and feel free to comment. Check out this article if you are not familiar with YouTrack.