Matthias Hochsteger
32e0026128
Some memory tracer fixes/features
...
If range checks are enabled:
- Trace all objects
- Check if memory usage never gets negative
- Check if memory usage is 0 in destructor
- Track total memory usage (use pyngcore.GetTotalMemory())
2024-12-03 18:58:07 +01:00
Joachim Schoeberl
ad99e5fdea
Exception::Throw
2024-07-17 18:01:59 +02:00
Joachim Schoeberl
357ff7badf
exception with stringview
2024-07-17 12:01:59 +02:00
Joachim Schoeberl
63986a4e5f
throw range exception via function call -> reduces code size
2024-07-16 10:18:16 +02:00
Joachim Schoeberl
8362349bb8
fix metis warnings
2024-01-06 18:19:11 +01:00
Matthias Hochsteger
b30b33e8a8
emscripten - print errors (no exception handling)
2023-08-22 09:25:06 +02:00
Joachim Schoeberl
e1f7935f0b
fixing warnings
2023-08-05 12:01:01 +02:00
Hochsteger, Matthias
11da083507
Emscripten support
2023-07-28 13:01:41 +02:00
Matthias Hochsteger
e17aa88cad
set signal handlers only if NG_BACKTRACE is set
2020-07-15 16:21:51 +02:00
Christopher Lackner
de1932227b
exception constructor outside of ifdef GNUC
2019-11-25 16:45:12 +01:00
Joachim Schöberl
648794b0bb
Exception ctor in cpp to reduce codesize
2019-11-25 07:46:35 +01:00
Matthias Hochsteger
8940bf7c2c
Only collect backtrace if NG_BACKTRACE is set
2019-11-20 14:30:23 +01:00
Matthias Hochsteger
262c656bcb
Fix overflow in backtrace
2019-10-31 18:40:46 +01:00
Matthias Hochsteger
c2e658274a
Avoid recursive call of signal handler
2019-10-14 18:01:11 +02:00
Matthias Hochsteger
7e3b292bb8
Print inlined functions in stack trace
2019-10-02 15:38:17 +02:00
Matthias Hochsteger
9f7b56fd1f
Register signal handlers to print stack trace
2019-10-01 16:30:41 +02:00
Matthias Hochsteger
b7c8f76765
Print stack trace on RangeException
2019-10-01 15:30:33 +02:00