I have a simple MVC4 solution that works just fine until I set a breakpoint in the controller. If I do that, the breakpoint does not hit, and I get a pop-up window titled, "Source Not Available" that goes on to say "Code not running", then "The current thread is not currently running code or the call stack could not be obtained."
The application will run as long as I do not want to debug. Any clues?
Full disclosure: I work at Telerik.
Thanks for the report and I'm sorry for the caused inconvenience. Actually there is an easier workaround. You can just disable the JustMock profiler from its Visual Studio extension menu: http://screencast.com/t/mPALFVJnuXm. Then you don't need to uninstall it. And when you run your unit tests which include mocked tests, just enable JustMock from the same menu again.
This is a known issue which we've already fixed. The fix will be publicly available in our Service Pack which is scheduled to be released next week. Please update your JM installation once the SP is live.
If you are using Telerik JustMock as a mocking framework and have recently updated it to the 2013 Q3 version, it causes this exact problem. I was able to resolve this issue by uninstalling the mocking framework and installing the 2013 Q2 version.
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