Nim/lib
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
..
arch/x86 Coroutine rework. 2017-02-20 17:24:19 +02:00
core fixes #9754 [backport] (#15342) 2020-09-16 19:41:14 +02:00
deprecated/pure Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
experimental fix several typos in documentation and comments (#12553) 2019-10-30 09:08:45 +01:00
genode minor update for the genode target 2019-07-14 16:08:15 +02:00
genode_cpp Native access to Genode environment 2018-06-07 07:21:20 +02:00
impure Fix #15219 SQL escape in db_mysql is not enough (#15234) 2020-09-04 11:04:27 +02:00
js proc params as syms (#15332) 2020-09-16 17:25:24 +01:00
nintendoswitch Rewrite the memory management code for Nintendo Switch (#8169) 2018-07-05 16:33:15 +02:00
packages/docutils fix #6430, support :target: for images (#15379) 2020-09-21 17:01:12 +02:00
posix Fixing issue #15302 -- lwip doesn't support signals (#15303) 2020-09-14 08:57:49 +02:00
pure better nativestacktrace support; refs #15284; backport [1.2] (#15384) 2020-09-22 13:03:24 +02:00
std Add some enhancements to jsonutils.nim (#15133) 2020-09-09 14:18:59 +02:00
system better nativestacktrace support; refs #15284; backport [1.2] (#15384) 2020-09-22 13:03:24 +02:00
windows add getprotobyname (#15273) 2020-09-09 12:47:22 +02:00
wrappers Add SSL_CTX_set_session_id_context (#15233) 2020-09-04 22:27:51 +01:00
cycle.h
nimbase.h Add thiscall calling convention, mostly for hooking purpose (#14466) 2020-05-27 16:24:47 +02:00
nimhcr.nim testament: generic N-fold batching: windows CI 37mn=>16m (#14823) 2020-06-27 16:51:17 +02:00
nimhcr.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
nimrtl.nim testament: generic N-fold batching: windows CI 37mn=>16m (#14823) 2020-06-27 16:51:17 +02:00
nimrtl.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
prelude.nim Improve prelude so it does not hijacks documentation when used (#15299) 2020-09-11 00:25:09 +02:00
stdlib.nimble attempt to make the build green again 2017-01-07 02:55:15 +01:00
system.nim better nativestacktrace support; refs #15284; backport [1.2] (#15384) 2020-09-22 13:03:24 +02:00
system_overview.rst fix broken links in the documentation 2020-09-12 09:22:14 +02:00