I think I have installed those things already a zillion times, I will check once again ...
Question : is this still correct :
http://wiki.codeblocks.org/index.php?title=Pretty_Printers ?
EDIT : I just checked this on my main machine :
- nothing specified in "Debugger Initialization commands"
- Enable watch scripts : unchecked
and I can see perfectly the members in the below code snippet :
#include <iostream>
#include <vector>
#include <string>
#include <set>
class Foo
{
public:
void doSomething();
private:
std::string mString{"front 242"};
std::vector<std::string> mVecStrings{"no", "shuffle"};
std::vector<int> mVecInts{2, 4, 2};
std::set<int> mSetInts{2, 4};
};
void Foo::doSomething()
{
std::cout << mString << std::endl;
for(auto element : mVecStrings)
{
std::cout << element << std::endl;
}
for(auto element : mVecInts)
{
std::cout << element << std::endl;
}
for(auto element : mSetInts)
{
std::cout << element << std::endl;
}
}
int main()
{
Foo foo;
foo.doSomething();
return 0;
}
So I did NOT have to do anything as described in the wiki link above.