Nim/tests/system
Andreas Rumpf 1fae66e4df
better nativestacktrace support; refs #15284; backport [1.2] (#15384)
* nimStackTraceOverride: enable stack traces in exceptions

This is a two-step stack trace collection scheme, because re-raised
exceptions will collect multiple stack traces but use them rarely, when
printing info about an uncaught exception, so it makes sense to only do
the cheap stack unwinding all the time and the relatively expensive
debugging information collection on-demand.

`asyncfutures` implements its own `$` proc for printing
`seq[StackTraceEntry]`, so we have to add the debugging info there, just
like we do for the private `$` proc in `system/excpt`.

* cleaned up PR #15284

Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com>
2020-09-22 13:03:24 +02:00
..
helpers lots of small changes 2018-12-11 21:23:22 +01:00
t7894.nim azure: disable failing tests 2019-10-03 18:36:18 +02:00
talloc.nim more eyewash 2018-11-23 11:58:31 +01:00
talloc2.nim #12103 - CI for OpenBSD (#12105) 2020-04-21 15:05:21 +02:00
tdeepcopy.nim fixed #7894 (#8496) 2018-08-01 10:57:35 +02:00
tdollars.nim fix #14350, cstrings in JS init as null (#14355) 2020-05-15 10:07:30 +02:00
techo_unicode.nim fixes #12315 [backport]; refs #12314 (#12385) 2019-10-08 20:49:45 +02:00
tenum_array_repr.nim Handle different enum sizes in reprAux (#5207) 2017-01-11 05:54:04 +01:00
tgogc.nim fixes #11447 2019-07-06 21:20:16 +02:00
tio.nim disable tio.nim, it just causes problems 2018-11-23 11:58:30 +01:00
tnilconcats.nim fix segfault when calling shallow() on an empty string (#9782) [backport] 2018-11-22 14:47:27 +01:00
tnim_stacktrace_override.nim better nativestacktrace support; refs #15284; backport [1.2] (#15384) 2020-09-22 13:03:24 +02:00
tostring.nim Clean out Deprecated proc (#14797) 2020-06-29 09:33:07 +02:00
tparams.nim properly deprecate parseopt2 (#10452) 2019-01-25 13:13:55 +01:00
trealloc.nim #12103 - CI for OpenBSD (#12105) 2020-04-21 15:05:21 +02:00
tsystem_misc.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
tuse_version.nim fix #14912, make --useVersion:1.0 work again (#14945) 2020-07-10 16:44:12 +02:00
tvarargslen.nim rename lenTuple and lenVarargs (#13639) 2020-03-12 20:07:02 +01:00