FluffyLabs / FluffyLabs/pvm-debugger-old

Improve error message when program is incorrect

Open
#350 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
17
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.