views:

129

answers:

1

I was debugging a C++ program in VS 2003, and a boost variable showed up as having the value {null=???}. What does that mean?

+3  A: 

Typically when you see ??? in the C++ debugger, it means the underlying expression evaluator had problems accessing the memory for the particular expression. So it's likely the value points to invalid or inaccessible memory.

It's also possible that this session is using an autoexp.dat file and it points to a member that is not accessible / available in the underlying expression. I believe this will also lead to the ??? display.

JaredPar
Thanks for the link, I hadn't considered. I will check it out next time I can.
des4maisons