Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
installation_guide:debug:start [2024/02/19 16:10] – [Coredump generators] borja | installation_guide:debug:start [2025/04/10 21:17] (current) – [Attach the GDB (debugger) to the Asterisk] borja | ||
---|---|---|---|
Line 353: | Line 353: | ||
gdb -ex " | gdb -ex " | ||
gdb / | gdb / | ||
+ | </ | ||
+ | |||
+ | ==== Execute the Asterisk with GDB (debugger) ==== | ||
+ | |||
+ | Launch the Asterisk process with the debugger (gdb) : | ||
+ | |||
+ | < | ||
+ | gdb -ex=r --args asterisk -cvvvvvv -U asterisk -G asterisk | ||
+ | </ | ||
+ | |||
+ | ==== Attach the GDB (debugger) to the Asterisk ==== | ||
+ | |||
+ | Launch the debugger process and attach to the running Asterisk : | ||
+ | |||
+ | < | ||
+ | gdb / | ||
</ | </ | ||