lsp-wl icon indicating copy to clipboard operation
lsp-wl copied to clipboard

Debug console doesn't report problem.

Open hongyi-zhao opened this issue 3 years ago • 3 comments

Try with the following code snippet:

<< JavaGraphics`
g[x_,y_]:= 6 Exp[x^3] Sin[y]
Plot[g,{x,-20,20,{y,-20,20},PlotRange=All}]

In vscode:

image

In MMA notebook:

image

hongyi-zhao avatar May 29 '21 01:05 hongyi-zhao

It doesn't because I haven't figure out how to capture the messages during evaluation in another kernel. But if you open the log panel, it will emit something.

image

kenkangxgwe avatar May 29 '21 02:05 kenkangxgwe

But if you open the log panel, it will emit something.

Yes. As shown below:

image

hongyi-zhao avatar May 29 '21 02:05 hongyi-zhao

I think this can be partially done by wrapping the evaluation with EvaluationData, but I cannot keep them in the same order as FrontEnd. However, it's still the most worthy approach that I can think of. Same for reporting messages.

kenkangxgwe avatar May 30 '21 08:05 kenkangxgwe