-
October 23rd, 2005, 08:22 AM
#1
debug help
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
-
October 23rd, 2005, 08:32 AM
#2
Re: debug help
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.
-
October 23rd, 2005, 08:59 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|