I have a solution, both client and server running, with many projects, the front end is Silverlight in my solution. As the code is running I hit break all and expect to stop in the currently running line of code. Instead I receive the "No Source Available, There is no source code available for the current location" message. What could be the solution for this? Note that it happens whenever I hit break all, no matter which part is being executed. standard breakpoints do stop.
This sounds like the standard behavior... Remember that behind the scenes you have the framework dlls (ntdll.dll / windowsbase.dll / presentationframework.dll etc.) doing their magic (listening to message pumps, working with the OS etc.)...
So most of the time when you "Break All", you have a very good chance of falling into one of them.
You can open the Call Stack
window and see exactly where you are (you might need to right-click and "Show External Code
")... and Sometimes you might also see your specific method calls in there...
Putting breakpoints in your code and stopping in them is usually the correct method to stop in methods that are relevant to your specific application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With