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
Right now, any error that happens while a kernel is running will cause a stack dump to report the error as originating within our compiler. That's bad for us.
There are two stages to fixing this:
Wrap all kernel invocations in a Lua xpcall() that produces a slightly more useful stack dump. That is, the stack dump should locate the error at the kernel call site instead.
Eventually, we'd like to plumb line-number information from the parser through to the Terra code-gen and then somehow have terra dump more useful debug information. This may be difficult and requires Zach's input.
The text was updated successfully, but these errors were encountered:
Right now, any error that happens while a kernel is running will cause a stack dump to report the error as originating within our compiler. That's bad for us.
There are two stages to fixing this:
xpcall()
that produces a slightly more useful stack dump. That is, the stack dump should locate the error at the kernel call site instead.The text was updated successfully, but these errors were encountered: