(adding sr-dev to CC)

Hello Ali,

have a look to the kamailio binary parameter and the children parameter in 
configuration. You can actually start kamailio with (almost) no forking.

You will get a lot of debugging information if you enable the kamailio 
debugging in the cfg.

If you want to debug only the internals of the core or a specific Kamailio 
module, there is also a debugger module available that can be useful to debug 
only certain parts of the server. You can also set breakpoints at certain 
points in the cfg, or dump internal state with it.

Cheers,

Henning


Am 23.07.19 um 11:39 schrieb Ali Shirvani:

Hi all,

I want to trace function calls in a kamailio module, e.g. ims_isc module. I 
installed kamailio-dbg package and started the kamailio with gdb: `gdb 
kamailio` I also set break point on target function, but it seems gdb doesn't 
stop on that break point.

How should I start gdb and set break points? it seems gdb couldn't handle 
kamailio child processes that forked in start.

Regards,
Ali



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to