I needed to trace the functions that Asterisk calls when an event, such as a new call occurs.
I tried using ddd to debug the Asterisk process…But whenever I instruct ddd to run the program, instead of Asterisk working, it exits.
I even tried running Asterisk beforehand and then running ddd and trying to attach it to the already existing process. It does get attached but when I try to run the program again, Asterisk exits.
Is there something that I am missing out on?
What am I doing wrong??
All I want to do is debug the process and trace the function calls.
Thanks in advance…