signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.32k stars 1.38k forks source link

Debug it using vscode #2461

Open shatealaboxiaowang opened 1 month ago

shatealaboxiaowang commented 1 month ago

Hi:

Thank you very much for your open source. I would like to develop some applications based on your code, But first I want to run through your code and be able to debug (by breakpoint) it with vscode based on some call examples so i can understand the code logic. Do you have any good suggestions?  or do you have a better way for me to learn him as quickly as possible ?

Looking forward to your reply. Thank you again!

suiyuemanbu commented 1 month ago

It's a bit difficult to debug such a large program, adding more logs and looking at the logs is a good way to do it

shatealaboxiaowang commented 1 month ago

It's a bit difficult to debug such a large program, adding more logs and looking at the logs is a good way to do it

Thx! So, the best way to learn this program is looking at the logs and documents ? I want to learn this project, but i don't know what is the fast way.

cyrenity commented 1 month ago

Learn GDB!