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 expression can feasibly be proven to be incorrect, attaching should fail;
if expression's validity depends on runtime conditions, the error should be reported through appropriate channels (binary connection?).
Basically, IDE needs to observe some results of visualization, be it correct values or errors on whatever stage.
Actual Result
Attaching succeeds but visualization never receives any data. No error nor diagnostics are provided to explain this silence.
In the logs one can find line
[warn] [2021-03-08T17:28:42.928Z] [org.enso.languageserver.protocol.json.JsonConnectionController] Received unknown message: VisualisationEvaluationFailed(38358e93-60ef-400f-bb25-c084e51af57d,Compile error: Variable `is` is not defined.)
but it is not easily accessible.
Enso Version
0.2.6
The text was updated successfully, but these errors were encountered:
General Summary
If the visualization sets preprocessor code that yields an error, this error is not reported in any way to IDE.
This is really troublesome, as developing or debugging visualizations when there is something wrong in the preprocessor code becomes guesswork.
Steps to Reproduce
Create a visualization that sets nonsensical preprocessor expression. Wait for updates.
See the example request IDE makes under such condition and the reply:
Expected Result
Basically, IDE needs to observe some results of visualization, be it correct values or errors on whatever stage.
Actual Result
Attaching succeeds but visualization never receives any data. No error nor diagnostics are provided to explain this silence.
In the logs one can find line
but it is not easily accessible.
Enso Version
0.2.6
The text was updated successfully, but these errors were encountered: