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:43] – [Generate a CallStacks or Coredumps] borjainstallation_guide:debug:start [2025/04/10 21:17] (current) – [Attach the GDB (debugger) to the Asterisk] borja
Line 355: Line 355:
 </code> </code>
  
-==== Execute Asterisk with GDB (debugger) ====+==== Execute the Asterisk with GDB (debugger) ====
  
 Launch the Asterisk process with the debugger (gdb) : Launch the Asterisk process with the debugger (gdb) :
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.1741337036.txt.gz
  • Last modified: 2025/03/07 08:43
  • by borja