Thread exits after break point
-
Okay this is weird. I'm running VS2005 and I have a breakpoint set inside a thread. When I try to step into or step over the code, the thread exits with execution result of 0 (0x0) Actual Message: The thread '' (0xcdc) has exited with code 0 (0x0) If I remove the breakpoint, a later breakpoint hits fine (meaning the previous code executed okay) but again I cannot step into or step over the code. This code was debugging fine yesterday. Does anyone have any idea what I've done wrong? Thanks! EDIT: I should probably mention that the code in is C#
-
Okay this is weird. I'm running VS2005 and I have a breakpoint set inside a thread. When I try to step into or step over the code, the thread exits with execution result of 0 (0x0) Actual Message: The thread '' (0xcdc) has exited with code 0 (0x0) If I remove the breakpoint, a later breakpoint hits fine (meaning the previous code executed okay) but again I cannot step into or step over the code. This code was debugging fine yesterday. Does anyone have any idea what I've done wrong? Thanks! EDIT: I should probably mention that the code in is C#
Nevermind, I solved the problem. (I moved the class initialization into a method of the calling class rather than doing class Blah = new Blah() when declaring it as a property)