You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I highlight some code that is separated by a couple newlines, the repl attachment breaks with the error: Unexpected token ( in JSON at position 0. Stopping the debug adapter.
Steps to Reproduce
Write some code like this:
(cubed 2)
(cubed 64)
Highlight all of that code
Execute the highlighted code: CTRL+ALT+E
Unexpected token ( in JSON at position 0. Stopping the debug adapter.
The text was updated successfully, but these errors were encountered:
I have not been able to reproduce the "Unexpected token" error, but I'm sure it's related to the way I am outputting the response from evaluations. I need to make that more robust; it should never break the debug adapter.
Regarding your second attempt with the commented line I can confirm this behavior. I will look into this to try to figure out why this is happening.
Environment
Description
If I highlight some code that is separated by a couple newlines, the repl attachment breaks with the error:
Unexpected token ( in JSON at position 0. Stopping the debug adapter.
Steps to Reproduce
CTRL+ALT+E
Unexpected token ( in JSON at position 0. Stopping the debug adapter.
The text was updated successfully, but these errors were encountered: