zxul767 / lox

An interpreter for the Lox language
1 stars 0 forks source link

implement a good crash trap in `clox` #31

Open zxul767 opened 1 year ago

zxul767 commented 1 year ago

debugging clox when there's a segmentation or other fatal error is hard because there is no stacktrace to examine. if you look up online, you'll find a few ways, but we need to research a little bit more to find one that's as effective as possible.