C
Claire
My application runs for a while then just stops completely. No stack
overflows or any other errors, visual studio doesn't report any problems. I
can close the application down ok from the studio toolbar. If I check Task
Manager, CPU is 0%, memory changes a little over time.
I constantly log application flow to the output pane. Logging stops, usually
only a portion of the "current" debug string is displayed ie the thread
that's writing to the output pane is just stopping too.
There's several threads, originating from system.thread.timer objects.
Variables that are shared across threads are protected by Lock().
I wondered if this is a problem caused by locks, so to test I added
"entering lock", "locked", "unlocked" around every Lock(){} call.
I'm having trouble debugging this. Are there any tools out there that can
tell the state of locked threads?
thanks
overflows or any other errors, visual studio doesn't report any problems. I
can close the application down ok from the studio toolbar. If I check Task
Manager, CPU is 0%, memory changes a little over time.
I constantly log application flow to the output pane. Logging stops, usually
only a portion of the "current" debug string is displayed ie the thread
that's writing to the output pane is just stopping too.
There's several threads, originating from system.thread.timer objects.
Variables that are shared across threads are protected by Lock().
I wondered if this is a problem caused by locks, so to test I added
"entering lock", "locked", "unlocked" around every Lock(){} call.
I'm having trouble debugging this. Are there any tools out there that can
tell the state of locked threads?
thanks