I think I am missing something fundamental and basic in my attempts to set a breakpoint in my dot net core app.
I use F12 in Google, select sources and set a breakpoint, but it doesn't behave as I expect/hope.
It will sometimes break on the spot I select, but most often it will stop near the spot I want, but it is as if it has the wrong code loaded. Then a message appears that I am debugging to push F10, and F10 leads to a util.js file. And then when I push F5 it will break some other place in the bootstrap or js file.
Also, when I attempt to load a page a second time, it will just hang and take a LONG time to finish loading. (several minutes)
I have four breakpoints set in my javascript function, one near the beginning and the rest spread out across it. The only one it ever stops at (when it does) is the very last one. There is not a code path to get to the last one, without passing the others, but it only stops on the one.
Sometimes (not very often) it will break on the code in Visual Studio that seems to be about the same spot as the place I set the breakpoint in Chrome. But no values are available for inspection.
What am I doing wrong?