Click to See Complete Forum and Search --> : Debugging completely skips methods WHY?


codeguy03
October 27th, 2009, 02:21 PM
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.

Arjay
October 27th, 2009, 02:58 PM
Is your program multi-threaded?

codeguy03
October 27th, 2009, 03:29 PM
no how do I check that?

Arjay
October 27th, 2009, 03:39 PM
Have you explicitly created any threads?

MadHatter
October 27th, 2009, 04:23 PM
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).