I am new to LLDB and I am working with various std::vector
s in my code, however when I try to print the values of a vector or to query the size of my vector with something like expr '(int)myVector[0]'
or expr '(int)myVector.size()'
the debugger prints values that have nothing to do with the values I know there are in the vector.
As I'm learning to debug with command line and LLDB, I'm sure I'm missing something here, can anyone spot my error or give some advise?
EDIT Forgot to say that I'm under OS X Mavericks with the latest command-line tools installed.