Closed 0xDaksh closed 3 years ago
Same thing started to happen to me on a fresh installation of Fedora 34, no image on "inheritance" but generates metadata.
do you have graphviz installed on your system? @gnmaxim @DakshMiglani
//crossref #71
looks like this is broken since 1.56.0. vscode introduced some changes to the webview API and it seems like the renderer does not receive messages anymore. I've filed this with https://github.com/microsoft/vscode/issues/123822 and will continue to investigate.
- is graphviz installed and globally available on your system? required by https://www.npmjs.com/package/graphviz (this is what's rendering the graphs)
- what's your OS + vscode version?
- are there any errors in the developer tools console: cmd -> toggle developer tools -> console
- link to codebase / solidity file + what feature of the extension are you referring to? (call trace from codelense (this graph/graph), right click call trace, cockpit view call trace)
- did it suddenly fail and used to work before or is this the first time you're using this feature and it's not working.
Unexpected command: setConfig
Unexpected command: renderDot
Invalid asm.js function definition doesn't match use (viz.js:33)
thanks, should be fixed by updating the vscode-interactive-graphview extension to v0.0.11 (addressing https://github.com/tintinweb/vscode-interactive-graphviz/issues/15). this extension is creating the graph preview for the solidity extension.
let me know if the problem still persists @DakshMiglani @gnmaxim
cheers
Blimey! Thank you @tintinweb 😛
Call Graph is empty, screenshot:![image](https://user-images.githubusercontent.com/23355449/117540065-fb875f00-b02a-11eb-9f8c-43fd4ccd7f27.png)
Clicking the contract interaction graph button does nothing