Plans for Viewing Heap Snapshots?

Hello!

I know its a bit early, but with 1.9 out and the ability to view heap snapshots with Chromium, I’m wondering if there are any plans to integrate the ability to view the snapshots in VSCode via the Julia extension?

1 Like

I just saw that VSCode has added the ability to view heap snapshots natively. It is presented in the context of a JS debugger though.

Is there any possibility to leverage this to view Julia generated heap snapshots within VSCode?
I just tried but I get an error when trying to open the .heapsnapshot file that says Error: invalid profile JSON.

2 Likes

@davidanthoff @pfitzseb any news on this front?

Not really. Heapsnapshot has some unrooted objects · Issue #52432 · JuliaLang/julia · GitHub might cause the UI to fail though.

FTR this works nowadays:

I believe the changes were also backported to v1.10.

EDIT: the heap snapshots produces by Julia are now viewable in VS Code (with the ms-vscode.vscode-js-profile-flame extension), but not in Chromium: