Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jujuwie

macrumors newbie
Original poster
Nov 5, 2008
5
0
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
 
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
 
any suggestions?

Hello,

similar problem occurred to me as Jujuwie posted.

could any one offer advice? thank you!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.