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

IDE freezes expanding class #121

Open
bpieber opened this issue Jan 6, 2023 · 1 comment
Open

IDE freezes expanding class #121

bpieber opened this issue Jan 6, 2023 · 1 comment

Comments

@bpieber
Copy link

bpieber commented Jan 6, 2023

Happy New Year!

I think I found a bug. To reproduce:

  1. Open https://newspeaklanguage.org/samples/primordialsoup.html?snapshot=HopscotchWebIDE.vfuel
  2. Search for Workspace using the search bar. Two classes are found.
  3. Expand one of classes using >. The class expands.
  4. Try to expand the second class. The IDE freezes.

It does not matter which of the two classes I expand first.

I tried it on Chrome and Safari on macOS 12.6.2. Both behave the same.

Is there a way to halt execution and enter a debugger?

@gbracha
Copy link
Member

gbracha commented Jan 10, 2023

Thanks for reporting this. I believe this is an outgrowth of the recent changes, which transfer IDE crashes to the debugger rather than exiting the VM. Unfortunately, in some cases that process enters an infinite loop instead, and things hang - which is even worse than before. This being a web application, there's no way to interrupt an infinite loop.

However, in most cases we do get the desired behavior, which is a huge win. I'll have to debug the remaining situations. I hope to reach a much more stable situation in the coming weeks.

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

2 participants