[Freeswitch-dev] GDB doesn't catching breakpoints in module
mrene_lists at avgs.ca
Wed Apr 8 10:18:23 PDT 2009
Oh yeah... you can do "run -vg" or "run -waste" so it doesnt fork
On 8-Apr-09, at 4:42 AM, Ceino wrote:
> 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
> 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
>>> 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.
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
More information about the Freeswitch-dev