Hello,
the debugger in C::B doesn't not respond after i try to watch the content of any class. These classes can be even not so complicated. For example AxisAlignedBox type from Ogre3D. The problem is all the time reproducible. I tried "set print elements 200", didn't fix that.
The version of C::B is 12.11,
gdb: 7.4.1+dfsg-0.1
My system based on AMD x64 CPU
Do you have a minimal code sample that reproduces the problem?
Does your class have a static member of the same class type?
Hi oBFusCATed, thank you that you try to help me.
In my project i use OgreKit library.
There are a lot of classes that cause the debugger freeze problem. For example this quite simple one: http://code.google.com/p/gamekit/source/browse/branches/OgreKit/OgreLite/OgreMain/include/OgreAxisAlignedBox.h?r=151 (http://code.google.com/p/gamekit/source/browse/branches/OgreKit/OgreLite/OgreMain/include/OgreAxisAlignedBox.h?r=151). It has static members of the same class type. Is it a problem for debugger?
Quote from: ysern on August 25, 2013, 11:55:37 PMIs it a problem for debugger?
Yes, it is, the debugger enters infinite recursion.
Put this line in the initial commands in the debugger settings and it will work fine.
set print static-members off
Quote from: oBFusCATed on August 26, 2013, 10:06:06 AM
Put this line in the initial commands in the debugger settings and it will work fine.
set print static-members off
Now it works. Very thanks
oBFusCATed!