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

Thread: .NET debugging

  1. #1
    Join Date
    Jul 2001
    Posts
    28

    Question .NET debugging

    When I run my .NET object in debug mode, I see the wrong values for public variables in Watch window. If I set 1 to the variable, I see some big number. But Iam able to see the local variables properly.
    Should I watch public variable in different window?
    Anyone having any ideas?

    Thanks
    Srini

  2. #2
    Join Date
    Sep 2002
    Posts
    3

    Re: .NET debugging

    The reason may be that u have more than one watch windows that has a function that operates on that variable, there by changing the value of the variable from the expected. Check all your watch windows.
    If this is not the problem check your code, somewhere u might be manipulating that variable.
    Hope this helps
    GJain

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