1
Answer

Debugging / Could really use some help

Boblysan

Boblysan

20y
1.6k
1
Good afternoon. The short version: When debuggign an application, how can I fidn out what problem is occuring if execution just stops, with no errors ever coming up? I have a calss which calls a public method in a different class to enable a timer. Basically, it works like this. Class1 Method1() { refToClass2.StartTimer(); } Class2 contains the following public method StartTimer() { tmrAutoStart.Enable = true; } When the code from Method1 execute, it does in fact call the StartTimer method, but upon attempting to enable the timer, execution just stops and never moves on to the tick event handler for my timer. I'm unsure of how to debug this further. I am setting break points at all of these points to see what is getting executed and what is not. The main thing that really confuses me is that the debugger just stops, no errors, app doesn't hang, nothing. Execution just stops. Any suggestions would be very much appreciated. Thank you all. Bob
Answers (1)