debugging - Weird behavior of asp.net mvc application. -


in asp.net mvc application, have call 1 user defined function. whenever page refreshed, function called. problem, first time, runs perfect. when refresh, have put breakpoint, goes , down repeatedly.

that means, debugger goes line1, run more 1 time, goes second line, goes third line, goes first line, , on. have attached photos below. developing applications in mvc4.

enter image description here

enter image description here

enter image description here

enter image description here

first image first time run. in second image, line connection.open() runs 3 times. happens every line. debugger goes , down abruptly. don't know wrong this. can explain this? thank you.

it's because of multiple threads running simultaneously.

use vs extension limit debugger hit on 1 of threads : https://visualstudiogallery.msdn.microsoft.com/54ef0f07-ed1d-4b89-b4ae-6506b196f843


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -