CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    25

    Debugging completely skips methods WHY?

    I am debugging a project and 98% of the time things work well. The other 2% I get exceptions because the program decided to skip a method that it must go through.

    When I hit the exception I drag the little yellow arrow back to the method and walk through the entire routine and everything works out fine.

    What is going on here?

    It seems that the program is working too fast for its own good.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Debugging completely skips methods WHY?

    Is your program multi-threaded?

  3. #3
    Join Date
    Aug 2009
    Posts
    25

    Re: Debugging completely skips methods WHY?

    no how do I check that?

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Debugging completely skips methods WHY?

    Have you explicitly created any threads?

  5. #5
    Join Date
    Mar 2004
    Location
    33°11'18.10"N 96°45'20.28"W
    Posts
    1,808

    Re: Debugging completely skips methods WHY?

    this also happens when your debug symbols are off (if you're attaching to a running application which has an older version of the code base).

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