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

Extended debug info #150

Open
vtereshkov opened this issue May 25, 2022 · 0 comments
Open

Extended debug info #150

vtereshkov opened this issue May 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@vtereshkov
Copy link
Owner

Currently the debug info consists of only the module name, function name and line number. This is sufficient for printing meaningful runtime error messages, but not for step-by-step debugging. In particular, the 'Watch' command cannot be implemented, as the local variables' names and types are lost after the program source has been compiled into bytecode.

Even though it's pretty easy to implement line-based debug hooks needed by the 'Step into' and 'Step over' debugger commands, these commands will be almost useless without the 'Watch' command.

It is also unclear how to provide the extended debug info via the C API.

@vtereshkov vtereshkov added the enhancement New feature or request label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant