Top "Visual-studio-debugging" questions

Questions related to debugging methods and tricks in VisualStudio

How to debug Cucumber in Visual Studio Code (VSCode)?

I was trying to debug Cucumber scenarios in Visual Studio code and made below changes in the launch.json. { "name": "…

visual-studio-code visual-studio-debugging cucumberjs javascript-debugger
Exactly what ports must be open for MSVSMON.exe (remote debugging) to work?

I'm asking my network admin to open up ports on the firewall to allow remote debugging. It says in the …

visual-studio firewall remote-debugging visual-studio-debugging
Force break on any exception thrown in program

When coding in C# I like not to handle exceptions because it makes it easier to figure out where and …

c# vb.net exception visual-studio-debugging
How to prevent Visual Studio from launching WcfSvcHost.exe while debugging?

I have a solution in Visual Studio 2008 which has multiple projects. One of the projects is a WCF project. Sometimes …

.net wcf visual-studio visual-studio-debugging
Cannot attach the file as database / The underlying provider failed on Open

I have an MVC3 application using the Entity Framework. I haven't used this application in about a year. Recently, I …

asp.net-mvc-3 entity-framework visual-studio-debugging localdb
Stop Visual Studio from breaking on exception in Tasks

I have the following code: Task load = Task.Factory.StartNew(() => {//Some Stuff Which Throws an Exception}); try { load.Wait(); } …

c# visual-studio-2010 debugging visual-studio-debugging
How do I debug .NET 4.6 framework source code in Visual Studio 2017?

Here's what I've tried: Made a new Console App (.NET Framework) in Visual Studio 2017. Added the following code: static void …

c# .net visual-studio-debugging debug-symbols visual-studio-2017
getting the debugger to break at the next click event

in a .net windows forms project which has 100s of forms, and all those forms has countless custom made controls …

c# visual-studio-2012 visual-studio-debugging
Where are the Visual Studio 2013 Diagnostic Tools

I'm searching for a tool window for hours and I cannot find it. (see http://blogs.msdn.com/cfs-filesystemfile.ashx/__…

visual-studio-2013 visual-studio-debugging memory-profiling
How to match a crash's "Fault offset" to the source code?

An EXE I compiled keeps crashing. I have the following info in the Event Viewer when it crashes: Exception code: 0…

c++ visual-studio-2012 visual-studio-debugging pdb-files