installation_guide:debug:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation_guide:debug:start [2025/03/07 08:44] – [Execute Asterisk with GDB (debugger)] borjainstallation_guide:debug:start [2025/04/10 21:17] (current) – [Attach the GDB (debugger) to the Asterisk] borja
Line 362: Line 362:
 gdb -ex=r --args asterisk -cvvvvvv -U asterisk -G asterisk gdb -ex=r --args asterisk -cvvvvvv -U asterisk -G asterisk
 </code> </code>
 +
 +==== Attach the GDB (debugger) to the Asterisk ====
 +
 +Launch the debugger process and attach to the running Asterisk :
 +
 +<code>
 +gdb /usr/sbin/asterisk $(pidof asterisk) -iex "set pagination off" -ex cont
 +</code>
 +
  • installation_guide/debug/start.1741337059.txt.gz
  • Last modified: 2025/03/07 08:44
  • by borja