#Stack trace?

1 messages · Page 1 of 1 (latest)

primal jackal
#

How do one can enable a stack trace print on compiler errors in Odin? Say, if I made an error in my syntax and I'd like to know, where that error was thrown in the compiler?

Or alternatively, how to see the stack trace when writing code adhering to the syntax, i.e. in the normal flow of things?

exotic ingot
#

Debugger for stack trace. If it's syntax, just search for the line that throws that error and put a breakpoint on it.