[Freeswitch-dev] GDB doesn't catching breakpoints in module

Ceino ceino.no at gmail.com
Wed Apr 8 01:42:16 PDT 2009


I found the solution after many hours of debugging: I notice the 
following message
at the starup of fs (I overlook it for a long time): "Error: stacksize 
240 is too large: run ulimit -s 240 or run 
/opt/freeswitch-1.0.4_svn_12914/bin/bin/freeswitch -waste.
auto-adjusting stack size for optimal performance...."

So I just increase the stack size (the stack size was big enough for fs 
1.0.3 with GDB so I didn't got any problem with that version)
and GDB with breakpoints works fine.



Lars Sivertsen


Michael Jerris wrote:
> On Apr 7, 2009, at 5:50 AM, Ceino wrote:
>
>   
>> Hi all, I try to use breakpoints in mod_dialplan_xml.c but it doesn't
>> get catched (the program work). This
>> did work in fs 1.0.3. I use fs svn thrunk 12914 and GDB version 6.6.
>>
>> Inside gdb I use the following command:
>>
>> break mod_dialplan_xml.c:dialplan_hunt
>>     
>
> This should work fine still, could you please try to track down what  
> changes you think caused this issue.
>
> Mike
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>   




More information about the Freeswitch-dev mailing list