Re: [Anjuta-list] Debug with C++ code?
- From: Sang Chul Choi <choi biology rutgers edu>
- To: Johannes Schmid <jhs jsschmid de>
- Cc: Anjuta List <anjuta-list lists sourceforge net>
- Subject: Re: [Anjuta-list] Debug with C++ code?
- Date: Wed, 13 Feb 2008 12:34:38 -0500
Thank you so much!
That was helpful.
On Wed, 2008-02-13 at 04:42 -0500, Johannes Schmid wrote:
> To build with other compiler options (no optimization), run
> # CFLAGS="-O0 -g" ./configure
> on the command line. Sorry, that's not yet possible from the UI.
> That should make debugging easier though C++ debugging can sometimes
> become a bit confusing.
> About the stuff you mention with a static library: This should normally
> work out of the box as automake checks if dependencies (e.g header
> files) changed. Otherwise, please refer to the automake manual.
> Am Dienstag, den 12.02.2008, 20:25 -0500 schrieb Sang Chul Choi:
> > Hi,
> > I am trying to debug a C++ project. There are two things that have been
> > bothering me. One is that it does not stop at break-points that I have
> > assigned. I guess that this might be related to compile options. I've
> > tried to remove -O2 options because this might cause wrong line stopping
> > problem in my debugging procedure. I had emailed before about this
> > because I could not figure out how to remove -O2 option. So, this is the
> > same question before.
> > Another question is that when I step-over (F6 key) a line in C++ code,
> > it does not step-over but stop some where in C++ library code. C++
> > debugging seems harder than that of C language.
> > I will appreciate any help with debugging technique with C++ other than
> > these.
> > Thank you,
> > Sang Chul
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Anjuta-list mailing list
> > Anjuta-list lists sourceforge net
> > https://lists.sourceforge.net/lists/listinfo/anjuta-list
] [Thread Prev