Here’s a little feature of Visual Studio’s debugger for C++. Consider the following code:
void foo( int* aiMyIntegerArray ){
…
}
void goo(){
int aiMyInts[5];
…
foo(aiMyInts);
}
If you set a breakpoint inside of the function foo and then do a QuickWatch on the aiMyIntegerArray argument, you only see the first element in the array, even though there are 4 more sneaky little [...]
Continue Reading..