Code flow and debuging

I am very new in Asterisk.I am facing problems in understanding the flow of source. Say for example if I am writing some dialplan in extensions.conf then how to check which corresponding functions are called in the source code. Is there any way to debug the source code. Can anyone give me suggestion is there any special editor used for it.

Kindly Help.

Thanks in advance.

Nihar Deb

Dialplan uses applications so check the ‘apps’ subdirectory in the source.

exten => s,1,Answer
exten => 1,n,Dial(Sip/101)

Answer and Dial are both applications so there will be app_answer.c and app_dial.c under the apps subdirectory.