Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Debugging hangs if an event handler for a UI element is set and event handler gets executed (V8)

$
0
0
Hi,

Did you try putting a breakpoint to the "Console.WriteLine" line?
debugger;
var connect1 = main.SizeChanged.connect(function (sender, e) {
    Console.WriteLine("SizeChanged");
});
If you have only a "debugger;" statement at the first line and continue execution after stopping there, it works fine.

But if you put a breakpoint at that line and resize the form, the application hangs as soon as it hits the breakpoint.

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>