Hello,
I am new to Mac (Mac OS X Version 10.5.5) and I want to debug a C++ application in Eclipse Ganymede (using darwin).
When debugging the following simple sample application...
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> myNumbers(5, 11);
for (int i = 0; i < (int) myNumbers.size(); i++) {
cout << myNumbers.at(i) << " ";
}
return 0;
}
, I cannot gain insight into the values of the single elements of the vector but I get the following message...
Target request failed: Cannot look up value of a typedef.
(remark: in project settings > C/C++ Build > Settings > GCC C++ Compiler > Debugging -> Debug Level is set to Maximum (-g3) which I think is default value)
Would be great if anybody could help me to solve this problem because I don't feel like instrumenting all my code ;-)
Thanks,
Judith
I am new to Mac (Mac OS X Version 10.5.5) and I want to debug a C++ application in Eclipse Ganymede (using darwin).
When debugging the following simple sample application...
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> myNumbers(5, 11);
for (int i = 0; i < (int) myNumbers.size(); i++) {
cout << myNumbers.at(i) << " ";
}
return 0;
}
, I cannot gain insight into the values of the single elements of the vector but I get the following message...
Target request failed: Cannot look up value of a typedef.
(remark: in project settings > C/C++ Build > Settings > GCC C++ Compiler > Debugging -> Debug Level is set to Maximum (-g3) which I think is default value)
Would be great if anybody could help me to solve this problem because I don't feel like instrumenting all my code ;-)
Thanks,
Judith