visual-studio-debugging

ASP.NET MVC5/IIS Express unable to debug - Code Not Running

僤鯓⒐⒋嵵緔 提交于 2019-11-26 16:12:26
问题 I start a VS2013 VB.Net MVC5 Web Application, set a breakpoint in HomeController About method and run "Start Debugging", navigate to About page and receive the message "Code not running - The current Thread is not currently running or the call stack could not be obtained" preventing any debugging. If I set a breakpoint in Global.asax Application_Start, the breakpoint works fine. Changing the "Enable Edit & Continue" makes no difference. Anyone have any ideas what is happening? Update : My

Visual Studio 2015 RTM - Debugging not working

那年仲夏 提交于 2019-11-26 12:00:09
问题 I have installed VS 2015 RTM (nothing else) and I\'m unable to debug any solution, not matter if it\'s an existing one or a brand new one (created with VS 2015 and compiled against .Net Framework 4.6), it only opens a new tab in VS which is called Break Mode with the following text: The application is in break mode Your app has entered a break state, but no code is executing that is supported by the selected debug engine (for e.g. only native runtime code is executing). And if I check the

Get “Internal error in the expression evaluator” on “Add watch” function when trying to debug WCF service code (MSVS 2013)

浪子不回头ぞ 提交于 2019-11-26 10:17:28
问题 Few days ago I moved my solution to MSVS 2013. It works fine except one thing: when I trying to debug code of my WCF service it works, but when I want to watch state of any variable it says: \"Internal error in the expression evaluator\". Add watch function works normal on client side, but in service code it broken. I\'m trying to debug my own WCF service running on the localhost. Could you help me, how to repair this? Here MSVS info: Microsoft Visual Studio Professional 2013 Version 12.0

No Source available

巧了我就是萌 提交于 2019-11-26 09:49:48
问题 I am not sure what happened or if I did anything.. Now anytime I try and debug it says no source available on all BCL stuff For example, on a debug.print I get that message with Locating source for \'f:\\dd\\ndp\\fx\\src\\CompMod\\System\\Diagnostics\\Debug.cs\'. Checksum: MD5 {40 74 18 44 a8 15 28 2e 54 75 5e 40 d1 5f 6a 0} The file \'f:\\dd\\ndp\\fx\\src\\CompMod\\System\\Diagnostics\\Debug.cs\' does not exist. Looking in script documents for \'f:\\dd\\ndp\\fx\\src\\CompMod\\System\

How to prevent Visual Studio from launching WcfSvcHost.exe while debugging?

ⅰ亾dé卋堺 提交于 2019-11-26 09:46:59
问题 I have a solution in Visual Studio 2008 which has multiple projects. One of the projects is a WCF project. Sometimes I just want to debug other projects, but when I press F5, Visual Studio has wcfsvchost.exe launched to host the WCF project even it is not \"StartUp Project\". Currently, every time I debugging other projects, I Have to Unload the WCF project to prevent the annoying WcfSvcHost.exe host pop up. However, it is not convenient. Anybody know better idea to prevent WCF project to be

SSL Connection / Connection Reset with IISExpress

寵の児 提交于 2019-11-26 06:14:50
问题 I\'m using the new Visual Studio 2013 with IISExpress for the first time (previously used ASP.net Development server on VS2010). I\'m running into issues trying to debug my project. This is what I see in Chrome: Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don\'t have. Error code: ERR_SSL_PROTOCOL_ERROR I updated my Properies -> web file so that the Project Url uses a https URL now.

Unable to start debugging on the web server. Could not start ASP.NET debugging VS 2010, II7, Win 7 x64

送分小仙女□ 提交于 2019-11-26 05:16:55
问题 This post is a Community Wiki . Edit existing answers to improve this post. It is not currently accepting new answers. I am running Visual Studio 2010 (as Admin), IIS 7 on Windows 7 x64. I am able to run the ASP.NET web site in IIS 7 without debugging just fine, but when I press F5 to debug it, I get: Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging. Unfortunately the help link is not

Can I find out the return value before returning while debugging in Visual Studio?

情到浓时终转凉″ 提交于 2019-11-25 20:54:17
Take the following function: DataTable go() { return someTableAdapter.getSomeData(); } When I set a breakpoint in this function, is there a possibility to inspect the returned value? go() is directly coupled to a datagrid in an .aspx page. The only way to inspect the returned datatable is to use a temporary variable. However, that's a bit inconvenient. Isn't there another way? Marc Gravell Not that I know of. Note that if you do add a variable, it will get removed by the compiler in release builds anyway... Update: This functionality has been added to VS2013 . You can see the return values in