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

2009-04-08 Thread Mathieu Rene
Oh yeah... you can do "run -vg" or "run -waste" so it doesnt fork Math 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 ul

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

2009-04-08 Thread Ceino
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 pe

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

2009-04-07 Thread Mathieu Rene
Try with the line number? Math On 7-Apr-09, 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: >

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

2009-04-07 Thread Michael Jerris
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:d

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

2009-04-07 Thread Ceino
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 Best Regars Lars Sivertsen ___