Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Debugging with multiple threads

$
0
0

Hello there, I have been trying to debug a multithread application with SD5.1 but I cannot get it to work.

The problem is that the debugger jumps between the threads when stepping. I tried to freeze the other threads but after stepping all threads "melt" again.

Since I already had the source code of SD around I looked into the problem. Apparently the function ICorDebugThread.__SetDebugState does not work. It is being called correctly and directly after the call GetDebugState returns the correct value. After stepping the values are resetted again.

Am I the only one having this issue?


Viewing all articles
Browse latest Browse all 1764

Trending Articles