[Asterisk-Dev] How do you debug Asterisk?

Steve Edwards asterisk.org at sedwards.com
Thu Apr 28 13:11:53 MST 2005


I need to debug an application I've written for Asterisk and I'm looking 
for some guidance on the best approach.

I'm using gdb in emacs.

How do you set breakpoints in the code? Do you set a breakpoint in the 
module loader and then set the breakpoint after your module is loaded? Do 
you link a "monotlithic" executable?

Inquiring minds want to know :)

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline           pagesteve at sedwards.com            Fax: +1-760-731-3000



More information about the asterisk-dev mailing list