Open ramu-r opened 2 months ago
Hi, It seems that after a vscode update, when debugging the .py file, it does not enter PyVisualizationSupport.ts but enters GenericVisualizationSupport.ts instead. This causes the extension to continuously output Python objects in a graphical way.
I have never worked with Node.js and TypeScript before, so I can only modify this piece of code in a straightforward manner. I replaced the getVisualizationData function from PyVisualization.ts to GenericVisulizatioinSupport.ts, and then modified the expression: finalExpression at line 84 to expression: visualize("+finalExpression+"). After rebuilding the file, it seems work. Obviously, this extension can only visualize .py files in this way. I think there should be a better method.
I tried the insertion sort demo from the python examples. The serialized array still shows up as a graph. Is there any step that I missed.![image](https://github.com/hediet/vscode-debug-visualizer/assets/9041113/6cabb5ed-a588-41eb-b042-505657fd9482)
When I click on the JSON source in the visualization viewer it shows this![image](https://github.com/hediet/vscode-debug-visualizer/assets/9041113/c1aa4887-659f-4d21-b24b-d813076a7ccf)