New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode extension shows blank screen on vscode remote #387
Comments
How large is your trace file? Does it work with command line |
Yes, it works in command line. Sorry I forgot to include this information in the first place. I can run My trace file is around 10MB. It worth note that sometimes I will also see a blank screen when using the browser, but I just need to refresh the web page in this case and then perfetto shows up as normal. I'm not sure if this is relevant. I can't find a refresh counterpart in vscode. |
So this behavior is always reproducible when you use vscode extension? It never works? It's possible that this is related to remote extension. I've never tested connecting to a remote server. I'm personally using WSL so that should work. |
I've tried many different As I said, WSL does work in my environment (for the same 10M |
Okay. With right-click -> view with vizviewer, you are supposed to bring up a server process for the trace. Could you try opening There could be multiple reasons:
Experiments mentioned above might help to narrow down the issue. |
Oh! I solved it. I just tried to port forward before clicking View with VizTracer, it's fixed! So, the issue is that the tab opens |
Some experiment details:
So, what if the ports on local and remote are the same?
Then I port forward But if server uses 9001 and I forward So, if the fix is to port forward for me when working with VSCode Remote, it should open tab based on vscode port forward result, instead of the port that server uses. I'm also using another tool I think there is a built-in way to do this. For example, when I run I don't know if there is a better solution, it's now up to you, my hero. |
Okay seems like I need to somehow forward the port. I'll take a look at it when I get a remote server! Thanks for the experiments! |
This is probably fixed by 0.2.3 extension. Could you try it out with the latest extension? |
After clicking View with VizTracer, I got a blank tab. And it is still blank after waiting for 10 minutes.
I'm using VSCode Remote to connect to a linux server.
But I've tested that it does work in WSL (v0.81.8) though.
Environments:
The text was updated successfully, but these errors were encountered: