Skip to content
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 status panel stuck in computing initial states when using simulation mode #324

Open
joshuazh-x opened this issue Jan 31, 2024 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@joshuazh-x
Copy link

I'm trying to run model checking on TLA+ spec at https://github.com/joshuazh-x/raft/blob/trace-validation/tla/MCetcdraft.tla using simulation mode. The output shows progresses but the status panel in vscode stuck in computing initial states.

I use TLA+ Nightly extension installed on WSL. VSCode version is 1.85.1.

vscode-tla-simulation

@lemmy lemmy added bug Something isn't working help wanted Extra attention is needed labels Jan 31, 2024
@joshuazh-x
Copy link
Author

The case of the above screenshot uses VSCode command "TLA+: Check model with TLC" with additional options "-fpmem 0.9 -simulate" passed to TLC. Not sure if I did it in the right way for simulation mode.

I notice output from command line "java -XX:+UseParallelGC -cp ./tla2tools.jar:./CommunityModules-deps.jar tlc2.TLC -config ./MCetcdraft.cfg ./MCetcdraft.tla -fpmem 0.9 -simulate" is different from that in the VSCode. Where can I check the effective command line in VSCode?

@lemmy
Copy link
Member

lemmy commented Jan 31, 2024

IIRC, the extension doesn't log the command-line. You will have to use ps axu.

@joshuazh-x
Copy link
Author

I see. The difference of output comes from option -tool which is used in vscode. Such difference is expected and shall not be the cause of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Development

No branches or pull requests

2 participants