Michael Friedrich
5812dae55b
Dev: Allow to delay main worker process in order to attach with LLDB
...
Introduce `-DInternal.DebugWorkerDelay=120` and sleep inside `RunWorker()`.
Rationale: With 2.11 we've introduced a real umbrella process where the
main process is spawned as child fork. Running icinga2 in foreground on
a macOS shell with LLDB will now exit, and not follow the child process.
LLDB doesn't support `follow-fork-mode child` like GDB and therefore we
need to:
- Print the child process PID
- Sleep for X seconds to allow the developer to run `lldb -p <PID>`, set breakpoints, etc.
This commit also documents all available debug build enabled internal constants.
2020-01-29 13:21:05 +01:00
..
2019-04-26 10:52:05 +02:00
2019-04-26 10:52:05 +02:00
2019-04-25 15:53:55 +02:00
2019-02-25 14:48:22 +01:00
2019-06-07 10:33:55 +02:00
2019-02-25 14:48:22 +01:00
2019-06-07 10:33:55 +02:00
2019-06-07 10:33:55 +02:00
2019-06-07 10:33:55 +02:00
2019-06-07 10:33:55 +02:00
2019-06-07 10:33:55 +02:00
2019-02-25 14:48:22 +01:00
2019-05-10 15:16:05 +02:00
2019-02-25 14:48:22 +01:00
2019-06-07 10:33:55 +02:00
2019-10-21 16:12:46 +02:00
2019-10-21 16:12:35 +02:00
2020-01-29 13:21:05 +01:00
2019-02-25 14:48:22 +01:00
2019-09-30 10:26:13 +02:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-04-02 17:05:48 +02:00
2019-02-25 14:48:22 +01:00
2019-04-02 17:05:48 +02:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-05-06 10:19:56 +02:00
2019-02-25 14:48:22 +01:00
2019-04-25 09:53:02 +02:00
2019-02-25 14:48:22 +01:00
2019-07-20 12:53:19 +02:00
2019-07-20 12:53:19 +02:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00
2019-02-25 14:48:22 +01:00