I’ve got test program like below: Debug it: It only prints out the pointer type information of si, but how to get the value stored in it (in this case 5)? How can I check the internal content of si during debugging? Answer Try the following: Now, this assumes that you’re using libstdc++.so, given the output for p si. Alternatively,