Currently when a program is incorrect we show an error message from codec that current data length is incorrect. It is not clear if program is incorrect or debugger doesn't work correctly. The message should:
- clearly indicate that program is incorrect (the error from codec can be printed in the browser console)
- in the perfect case includes information what is wrong - (for example: expected 1024 bytes read-only data, got 10 bytes). Unfortunately typeberry does not provide such data yet.
- contains a link to a new issue on github where a user can report the problem and send us the program that is trying to load
Currently when a program is incorrect we show an error message from codec that current data length is incorrect. It is not clear if program is incorrect or debugger doesn't work correctly. The message should: