mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-20 16:01:29 +00:00
stacktraces can now show custom runtime msgs per frame (#13351)
* stacktraces can now show custom runtime msgs * improve tests/stdlib/tstackframes.nim * fix test for --gc:arc * test --stacktraceMsgs:on and --stacktraceMsgs:off * --stacktracemsgs:off by default
This commit is contained in:
@@ -36,4 +36,4 @@ try:
|
||||
except AssertionError:
|
||||
let e = getCurrentException()
|
||||
let trace = e.getStackTrace
|
||||
echo tmatch(trace, expected)
|
||||
if tmatch(trace, expected): echo true else: echo "wrong trace:\n" & trace
|
||||
|
||||
Reference in New Issue
Block a user