mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
d96ee6b417
commit
c0dc4ec7d6
@ -116,10 +116,11 @@ the duplicate import in your `~/.gdbinit` file.
|
|||||||
|
|
||||||
### <a id="development-debug-gdb-run"></a> GDB Run
|
### <a id="development-debug-gdb-run"></a> GDB Run
|
||||||
|
|
||||||
Call GDB with the binary and all arguments and run it in foreground.
|
Call GDB with the binary (`/usr/sbin/icinga2` is a wrapper script calling
|
||||||
|
`/usr/lib64/icinga2/sbin/icinga2` since 2.4) and all arguments and run it in foreground.
|
||||||
If VFork causes trouble disable it inside the gdb run.
|
If VFork causes trouble disable it inside the gdb run.
|
||||||
|
|
||||||
# gdb --args /usr/sbin/icinga2 daemon -x debug -DUseVfork=0
|
# gdb --args /usr/lib64/icinga2/sbin/icinga2 daemon -x debug -DUseVfork=0
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user