It looks like only static members are optimized out in this case, so technically you are already seeing all of the actual
QString object , namely what seems to be the single member
d, a pointer to an instance of
QString::Data which presumably holds the actual string data.
[If you want to see all the stuff that's <optimized out>, turn off all optimizations and recompile. Normally, you don't want to debug with optimizations turned on anyway unless you have to.]
If on the other hand you want to see the string data presumably contained in
fn.d, I'm not sure (I haven't really used the debugging functionality of C::B all that much), but I'd try adding a 'manual' watch on
*fn.d and see what that gets you.