hi!!
I'm new to mfc and i try to debugging my sample program in vc++ 6.0. But when i start debugging and want to see class variable, i get error "symbol 'this' not found".Why and how can i see class(object) variable in debug window. Thanks
Printable View
hi!!
I'm new to mfc and i try to debugging my sample program in vc++ 6.0. But when i start debugging and want to see class variable, i get error "symbol 'this' not found".Why and how can i see class(object) variable in debug window. Thanks
When you're inside a member function you can see the value of the 'this'
pointer. It is automatic in the 'Variables' debug window - there is a 'this'
tab and it is also automatically in the 'Local' tab on the same window.
You can also type in 'this' in the 'Watch' debug window and see the value -
only if it is in context.
So why not post some code and show where you're trying to set a breakpoint
and which debug window you're using.
Ok!
thanks !