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

goals not displayed #7

Open
gares opened this issue Jan 19, 2023 · 8 comments
Open

goals not displayed #7

gares opened this issue Jan 19, 2023 · 8 comments

Comments

@gares
Copy link
Contributor

gares commented Jan 19, 2023

I've a trace where goals are "undefined",
Screenshot from 2023-01-19 15-03-30
trace.zip

But actually, I believe the trace is not special, since even trivial examples have the same bug. Hence I suspect it is related to my setup. This is VSCode

Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:57:40.428Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-56-generic snap
Sandboxed: No

CC @jwintz

@jwintz
Copy link
Collaborator

jwintz commented Jan 20, 2023

First test on macOS, can't reproduce (using trace_chr however). Most versions match.

Version: 1.74.3 (Universal)
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T17:07:18.579Z (1 wk ago)
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin arm64 22.2.0
Sandboxed: No

I'll test on linux right now.

In the meantime, could you please provide the output of the console from the embedded developer tools if anything relevant ?

@jwintz
Copy link
Collaborator

jwintz commented Jan 20, 2023

As for the attached trace, no issue either.

Screenshot 2023-01-20 at 11 06 14

@jwintz
Copy link
Collaborator

jwintz commented Jan 20, 2023

Same goes for linux.

Screenshot from 2023-01-20 20-48-34

Screenshot from 2023-01-20 20-45-23

Screenshot from 2023-01-20 20-47-30

@jwintz
Copy link
Collaborator

jwintz commented Jan 20, 2023

Waiting for more input on the console logs.

@gares
Copy link
Contributor Author

gares commented Jan 20, 2023

It seems to be related to the syntax highlighting setting, if I change it then it works:
Screenshot from 2023-01-20 15-37-09

@jwintz
Copy link
Collaborator

jwintz commented Jan 20, 2023

I have performed all the previous tests with synatx highlighting set as well. It surely takes forever for the message mecanism to provide the formatted output for each LHS card as well as for the RHS displayed card when it comes to a large trace, but it works. Could U try to load the trace and let it be for a while just to make sure formatted output gets displayed at some point ? We could then try to order message sending starting with the currently displayed cards.

Note: This is still an unsatisfactory fallback waiting for VSCode internals WRT/ syntax highlighting being exposed through the extension API ....

@gares
Copy link
Contributor Author

gares commented Jan 25, 2023

I don't know what is going on, but here it is reproducible. I'm on a new PC with elpi-lang 0.2.4 downloaded from the store.

Screencast.from.25-01-2023.11.07.07.webm

I did not see any weird message in the JS console, so I'm really clueless.

@ThomasPortet
Copy link

I had the same problem and it got solved by disabling the syntax highlight option as well. Also the first time I clicked on watch it didn't work but I can't reproduce it so I'm not sure what happened there. Here's my VS version if it helps

Version: 1.75.1
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:35:30.018Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Linux x64 5.4.0-77-generic snap
Sandboxed: Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants