CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: debug help

  1. #1
    Join Date
    Jul 2005
    Posts
    42

    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

  2. #2
    Join Date
    Dec 2002
    Posts
    1,050

    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.

  3. #3
    Join Date
    Jul 2005
    Posts
    42

    Re: debug help

    Ok!
    thanks !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured