As the subject line states, when compiling with useNimRtl, I no longer get any stacktrace information (regardless of stackTrace:on, lineTrace:on, etc.), which looks - for example - like this:
No stack traceback available
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Here's a little test case:
main.nim, compile with nim -d:useNimRtl c main:
type sequence = seq[int]
proc test =
var s: sequence
s[0] = 1
test()
Here's how to compile your nimrtl: https://nim-lang.org/docs/nimc.html#dll-generation
Here's the output I expect to get (and that I do get when omitting -d:useNimRtl):
Traceback (most recent call last)
main.nim(8) main
main.nim test
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Someone please tell me that there's a way to resolve this. Debugging without stacktraces is not... particularly fun. :(
system info: win10x64 nim 0.17.0