eclipse CDT / momentics not showing param pass by ref values


During debugging I’m not able to see the value of a parameter when it’s passed by ref (void Foo (const int& param)) but I am when passed by value (void Foo (int param)).

Any ideas what setting I’ve got wrong? I’m also having trouble seeing things like ptr->ptr2->iVal, same problem? any ideas?


Make sure youve compile with -g2 and with NO optimisation flag. If its all ok, you might want to try update gdb, you can find it on foundry27 in the tools project.

thanks, that’s fixed it.