You should also be able to achieve this by setting the build profile to 'Debug' with ccmake.


2009/6/26 Richard Vaughan <>
The compiler may have optimized the code by removing or reordering it.
Try removing the -O2 flag from  the top level CMakeLists.txt and from
your CXXFLAGS environment variable, then rebuild Stage (make clean
install). Then try debugging again.


On Fri, Jun 26, 2009 at 12:45 AM, <> wrote:
> Hello,
> I working with Stage 3.1.x from SVN and use Eclipse CDT with the GDB-Debugger.
> I have problems with stepping through the code because "stepping" seems to be kind of random. "Step into" jumps over functions, and "step over" sometimes into functions. In addition there step into/over jumps to former lines.
> Does anybody have troubles with this or a solution for it. What IDE do you use for working with Stage.
> thanks a lot
> Boris
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-users mailing list

Richard Vaughan
Autonomy Lab / Computing Science / Simon Fraser University

Playerstage-users mailing list

This email is intended for the addressee only and may contain privileged and/or confidential information