Category: debug

IE shows binding in select instead of value using AngularJS

Part of the system we are developing uses AngularJS. Because we had an increase in the use of our system, and more diverse configurations were using our system, we got some new bugs filed. One of these bugs was about a select list showing the binding in stead of the actual value for several options. Since …

Read More “IE shows binding in select instead of value using AngularJS”

Unable to attach remote debugger after Visual Studio 2015 Update 2

As the title states: I was unable to attach the remote debugger (for instance to an Azure Web App) after installing Visual Studio 2015 Update 2. I got an error with something about invalid memory access or something like that. The solution is simple: install Remote Tools for Visual Studio 2015 Update 2. Go to …

Read More “Unable to attach remote debugger after Visual Studio 2015 Update 2”

Visual Studio 2012 crashes when opening an ASP.NET MVC project with a cshtml open

A rather long title for this post, but that’s exactly what happened: when I opened an ASP.NET MVC 4 project with a cshtml view open, Visual Studio would crash with the error messages seen on the right. This would only occur if the first project I opened had a cshtml file open. When I opened …

Read More “Visual Studio 2012 crashes when opening an ASP.NET MVC project with a cshtml open”

Debugging JavaScript with Visual Studio in an ASP.NET MVC 4 application

When debugging JavaScript in an ASP.NET MVC (4) application, it is not always enough to uncheck the ‘Disable script debugging’ checkboxes under ‘Tools’ – ‘Internet Options’ – ‘Advanced’ – ‘Browsing’. JavaScript inside a Razor view (a cshtml file) cannot be debugged from Visual Studio. To debug your JavaScript, move it to a separate .js file …

Read More “Debugging JavaScript with Visual Studio in an ASP.NET MVC 4 application”