vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
533 stars 89 forks source link

Stack traceback on error? #451

Closed user202729 closed 5 days ago

user202729 commented 2 months ago

Just checking if I'm not missing something very simple.

void g(){
    1/0;
}
void f(){
    g();
}
f();

Error:

        1/0;
  ^
a.asy: 3.3: Divide by zero

I'd expect that it output the upper frames of the stack traceback (g called from f, f called from the main file) too.