visual studio 2017 debug unable to start program Invalid pointer

10.7k Views Asked by At

Debugging an ASP.NET MVC application with the default Chrome browser was working fine. I switched the debug over to start up IE instead to do some additional testing and the debugging worked fine. After I was done with IE I switched back to Chrome and now I get this error. If I switch back to IE I also get this error. I have closed and re-opened solution. I have closed and reopened VS. I have run VS with logging and I get no errors in the Activity Log. I can successfully debug if I turn off "Enable JavaScript debugging for ASP.NET" in the debugging options, but it was working fine with that option earlier. Any suggestions?

3

There are 3 best solutions below

4
Jason Geiger On BEST ANSWER

Unfortunately information on how the debugging emulator works is hard to come by. The only known solutions are...

  1. Reinstall Visual Studio
  2. Update Visual Studio if there is a patch/update available.

You can use a different browser or the internal browser.

1
Ellix4u On

Go to Tools > Options > Debugging > General and turn off the setting for Enable JavaScript Debugging for ASP.NET (Chrome and IE).

0
Md Farid Uddin Kiron On

I have also encountered this issue on visual studio 2017 like below:

enter image description here

I have followed below step:

Go to Tools > Options > Debugging > General > Unchecked Enable JavaScript Debugging for ASP.NET (Chrome, Edge and IE).

enter image description here

Once I get rid of check box on Enable JavaScript Debugging for ASP.NET (Chrome, Edge and IE)

Then It works for me and Invalid Pointer error gone!