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

REPL eval error from crash reporting #2802

Open
davidanthoff opened this issue Mar 25, 2022 · 1 comment
Open

REPL eval error from crash reporting #2802

davidanthoff opened this issue Mar 25, 2022 · 1 comment

Comments

@davidanthoff
Copy link
Member

We have crash reports with this error message:

The handler for the 'repl/runcode' request returned a value of type VSCodeServer.EvalErrorStack, which is not a valid return type according to the request definition.

This means that our handler inside the LS for that request is not always wrapping the return value in a ReplRunCodeRequestReturn. I tried to understand where that might happen, but the whole REPL execution framework is too complicated for me to understand right now :) @pfitzseb, this is probably for you.

@xgdgsc
Copy link
Contributor

xgdgsc commented Oct 17, 2022

During development of #3123 , I found when https://github.com/julia-vscode/julia-vscode/pull/3123/files#diff-78600594f1b69fa4e2f8213a0a3cf1aa6ebdaf7006b729337ea5e8c649ef11bdR261 anything inside savePersistentResults goes wrong it would return EvalErrorStack. So there could be some unhandled error around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants