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 [2023/08/04 08:01] – [Set the right TimeZone] borja | installation_guide:debug:start [2025/11/21 23:51] (current) – [View the traces flow] borja | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| < | < | ||
| root# tail -f / | root# tail -f / | ||
| + | </ | ||
| + | |||
| + | With remove/ | ||
| + | < | ||
| + | root# > / | ||
| </ | </ | ||
| Line 345: | Line 350: | ||
| # ls -l / | # ls -l / | ||
| </ | </ | ||
| + | |||
| + | ==== Generate a CallStacks or Coredumps ==== | ||
| + | |||
| + | Generate the threads stacks or a coredump file for the process (voximald) : | ||
| + | |||
| + | < | ||
| + | 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 / | ||
| + | </ | ||
| + | |||