Open mckeed opened 1 month ago
@mckeed Interesting, thanks for reporting. I've never seen this error, but it's apparently no longer reproducible at https://ide.kaitai.io/devel/ (which is the latest development version, see https://doc.kaitai.io/user_guide.html#web-ide), so I'm not sure this issue is directly actionable.
Perhaps we could look into how this situation happened with the stable Web IDE (or actually the stable KSC 0.10, because this is an error originating in the compiler) and verify that we don't have this problem anywhere else in the code. The Web IDE should also do a better job of handling even unexpected exceptions like this.
I hit a syntax error that kaitai-struct-compiler doesn't handle well. Here's a minimal example:
The problem is the web IDE does not show an error message for this, so it's not obvious at first that something is wrong. If you already had a successful parse in the window, it looks like it's still working until you notice that nothing is updating any more. Very frustrating.
The js console shows
from raven.js. I can share a longer stack trace if that'd be helpful.