Hello NG,
my application hangs onec a while. When I interrupt the execution (press the
|| button) the debugger shows me a green arrow on a "lock(this)" line.
I first thought, well "deadlock" so I modified my code to find out who locks
the app. Therfore I added a string member "lockOwner" to the class in
question and after each "lock(this)" I set the members value to the method
name like:
lock(this)
{
lockOwner = "Method1";
}
lockOwner = "unlocked";
As I ran into the same hang situation again, I thought, I could now find out
which method causes the problem, but o wonder....
lowOwner showed "unlocked" !!
I tripple checked, that I did not miss a lockOwner assignement.
Now I am out of any ideas to find the cause to my problem.
I would very much appreceate any hints and help on this issue.
Regards
Rainer Queck