Debugging Error - C++ / Eclipse Ganymede

Discussion in 'Mac Programming' started by jujuwie, Nov 6, 2008.

  1. jujuwie macrumors newbie

    Joined:
    Nov 5, 2008
    #1
    hello,
    I have got problems when debugging a C++ sample application (default settings) in Eclipse Ganymede (Mac Os X10.5.5 + darwin) which consists of the following classes:

    Code:
    [COLOR="SeaGreen"]// BaseClass.h[/COLOR]
    class [B]BaseClass[/B] {
    public:
        int member1;
        int member2[5];
        BaseClass();
        virtual ~BaseClass();
    };
    [COLOR="SeaGreen"]// BaseClass.cpp[/COLOR]
    #include "BaseClass.h"
    BaseClass::BaseClass() {
        member1 = 55;
        member2[3] = 33;
    }
    BaseClass::~BaseClass() {
    }
    [COLOR="SeaGreen"]// InheritedClass.h[/COLOR]
    #include "BaseClass.h"
    class [B]InheritedClass[/B] : public BaseClass {
    public:
        InheritedClass();
        virtual ~InheritedClass();
    };
    [COLOR="SeaGreen"]// InheritedClass.cpp[/COLOR]
    #include "InheritedClass.h"
    InheritedClass::InheritedClass() {
    }
    InheritedClass::~InheritedClass() {
    }
    [COLOR="SeaGreen"]// MainPgm.cpp[/COLOR]
    #include "InheritedClass.h"
    using namespace std;
    
    int main() {
        InheritedClass myObj;
        return 0;  // [COLOR="Red"]breakpoint[/COLOR] at this line
    }
    when stopping at the breakpoint (see comment) and when unfolding the details of myObj in the debug view "Variables":
    myObj
    -> BaseClass
    -> member1
    -> // empty and following error (see below)

    'Label Job' has encountered a problem.
    An internal error occurred during: "Label Job".
    Details:
    An internal error occurred during: "Label Job".
    Zero length BigInteger


    does anybody know where that comes from or even more useful how to get rid of it? I am new to Mac and to Ganymede. How about Ganymede for Mac? Buggy? ...

    thx, Judith
     
  2. yeroen macrumors 6502a

    yeroen

    Joined:
    Mar 8, 2007
    Location:
    Cambridge, MA
  3. jujuwie thread starter macrumors newbie

    Joined:
    Nov 5, 2008
    #3
    can anybody else help me with that because I would prefer to use the IDE Eclipse than that of Data Display Debugger (which on first glance does not seem very handy for navigating in source code).

    btw, my debug configurations are (set by default)
    - Debugger: gdb/mi
    - Debugger Opitons
    - GDB debugger: gdb
    - GDB command file: .gdbinit
    - GDB command set: Standard (Mac OS)
    - Protocol: mi
     
  4. bananaboy macrumors newbie

    Joined:
    Jul 8, 2009
    #4
    any suggestions?

    Hello,

    similar problem occurred to me as Jujuwie posted.

    could any one offer advice? thank you!
     

Share This Page