Closed gusmanb closed 4 years ago
@gusmanb, can you help me to create something reproducible? For example, you have a ZX BASIC file, and when you type something at a particular location, VS crashes. If I have thes instructions for reproduction, I can check whether this issue is in VS 2019 or in SpectNetIDE.
Hi.
This is the project I'm working right now (a little basic game for the speccy)
I'm attaching this because on a small, new project I'm unable to reproduce it but in other bigger projects I have I get the same exception.
To crash the IDE do this: Open "IslaTesoro.zxbas" file, cut 3 or 4 lines and try to paste the lines. On my computer it crases 100% of the time, sometimes even before trying to paste.
Cheers.
Thanks, @gusmanb, I managed to reproduce the issue! :-)
@gusmanb, it was a nasty VS bug :-(, an error in concurrency handling. It caused crashes when you do some actions (like cut and paste, or copy and paste) quickly after each other. I managed to create some workaround, and hopefully it solves the crashing issue. Here I attach a private build so that you can try the fix. Please, rename it to .vsix
!
Installed and working 👍 I've been testing it cutting and pasting pieces of basic and for now I got zero crashes.
I will be working on the speccy project all the day so I will test it extensively 😄
Cheers.
If you have any issues, please, report it. Tomorrow I plan to release the next Preview with all fixes I've done so far.
I've been working all the day on my project, cutting, pasting, replacing code, etc, and I had no single crash, so I'm going to close the issue 😄
Cheers.
Hi. I'm having a lot of VS crashes editing ZX Basic files.
The first one I can replicate consistently is cutting code. Whenever I cut more than two or three lines VS always crashes with no message. On EventViewer I can see this:
Also when I delete or paste code some times the same happens, the IDE crashes and I have the exact same error on the event viewer.
I think this error started happening since the last VS update.
Cheers.