AllenDang / cimgui-go

Auto generated Go wrapper for Dear ImGui via cimgui
MIT License
298 stars 43 forks source link

Asserts exit the program arbitrarily #255

Closed Wieku closed 4 months ago

Wieku commented 4 months ago

Currently user mistakes are very hard to investigate, because instead of throwing the panic with a stacktrace it just prints file path and line number. It also skips any recovery or post-error handling that was created in go (in my case it prints the stacktrace to log file).

Posting this to have a paper trail for a PR I'm preparing.