I have strange situation on a Framework 2.0 windows service.
Here is elapsed event of the timer. There is breakpoint1 on Start_Process().
if i work too long debugging Start_process function or forget and go for a
tea. Debugger hits the breakpoint2 inside the finally block. How come could
this happen?
private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
try
{
timer1.Enabled = false;
Start_Process() // BreakPoint 1
}
catch (System.Exception Ex)
{
//Do exception handling
}
finally
{
timer1.Interval = GetTimerInterval(); // BreakPoint 2
timer1.Enabled = true;
}
}
thnks