Modules/Callstack/public
Шурупов Илья Викторович 1ed98b9c32 Make hang reports reliable under a debugger and in input loops
A report could be left empty: sampling thread stacks signals every
thread, and a debugger such as gdb stops the whole process on that
signal before anything is written. Debugger pauses also looked like
hangs, so resuming from a breakpoint produced a false report whose
sampling froze the app again.

The summary (phase, open scopes, input events) and application files
are now written first, before any sampling. Sampling is skipped while a
debugger is attached, and the report says so. When the watchdog's own
100 ms wait takes a second or more, the whole process was paused, and
that time no longer counts towards the stalled phase.

The input loop now counts handled events per phase, so a report shows
when the UI thread kept processing a stream of events without ever
leaving input handling. The watchdog clock is injectable for tests.
2026-10-22 11:57:47 +03:00
..
Callstack.hpp Restore old modules - Allocator Callstack Strings Language 2026-10-06 16:28:34 +03:00
StackTrace.hpp Make hang reports reliable under a debugger and in input loops 2026-10-22 11:57:47 +03:00