Debugging with OpenSUSE 11.1

Yavuz Mert yavuzmert at lavabit.com
Fri Sep 18 07:42:29 BST 2009


hello, I also had that problem using openSuse, i used to run configure by hand 
without setting CXXFLAGS (so using -O2 -g) and breakpoints were not working 
despite -g option. Then i saw that kdevelop uses -O0 -g3 by default for debug 
build configuration, and i could use breakpoints after setting CXXFLAGS. You 
can check that.
yavuz

On Friday 18 September 2009 02:05:45 alonso schaich wrote:
> On Thursday 17 September 2009 22:55:41 Michael.Schmidt at l-3com.com wrote:
> > Hello,
> >
> > I am trying to debug with kdevelop 3.5.3 and OpenSUSE 11.1, but the
> > debugger isn't hitting the breakpoints.  I have libtool --mode=execute
> > set under the debugger pane.  Any help is appreciated.
> >
> > Thanks.
> >
> > _______________________________________________
> > kdevelop mailing list
> > kdevelop at kdevelop.org
> > https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
> 
> hello
> 
> iirc (it's been more then half a decade since i used kdevelop 3 the last
>  time) there is a gdb command line in kdevelop3's integrated debugger.
> you can set breakpoints in that by hand by typing `break
> SOURCE_FILE_NAME:LINENUM` if the binary was compiled with debug symbols
> 
> hope that helps
> 
> alonso
> 
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
> 





More information about the KDevelop mailing list