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/04/10 21:17] – [Execute the Asterisk with GDB (debugger)] borjainstallation_guide:debug:start [2025/11/21 23:51] (current) – [View the traces flow] borja
Line 27: Line 27:
 <code> <code>
 root# tail -f /var/log/voximal/debug.log | ccze -A root# tail -f /var/log/voximal/debug.log | ccze -A
 +</code>
 +
 +With remove/reset log content :
 +<code>
 +root# > /var/log/voximal/debug.log ; tail -f /var/log/voximal/debug.log
 </code> </code>
  
Line 351: Line 356:
  
 <code> <code>
-gdb -ex "thread apply all bt" --batch /usr/sbin/voximald $(pidof voximald) > /var/log/voximal/backtrace-voximald$(date +%s).txt +gdb -ex "thread apply all bt" --batch /usr/sbin/asterisk $(pidof asterisk) > /var/log/voximal/backtrace-asterisk-$(date +%s).txt 
-gdb /usr/sbin/voximald $(pidof voximald) -ex "gcore /tmp/toto.core" --batch+ 
 +gdb -ex "thread apply all bt" --batch /usr/sbin/voximald $(pidof voximald) > /var/log/voximal/backtrace-voximald-$(date +%s).txt 
 + 
 +gdb /usr/sbin/asterisk$(pidof asterisk) -ex "gcore /tmp/asterisk-$(date +%s).core" --batch 
 + 
 +gdb /usr/sbin/voximald $(pidof voximald) -ex "gcore /tmp/voximald-$(date +%s).core" --batch
 </code> </code>
  
Line 368: Line 378:
  
 <code> <code>
-gdb /usr/sbin/asterisk $(pidof asterisk) -iex "set pagination off"  -ex cont+gdb /usr/sbin/asterisk $(pidof asterisk) -iex "set pagination off" -ex cont
 </code> </code>
  
  • installation_guide/debug/start.1744319851.txt.gz
  • Last modified: 2025/04/10 21:17
  • by borja