Shane Stapleton

Shane Stapleton

  • NA
  • 6
  • 2.6k

Visual Studio's Debugger Randomly Quit Working

Aug 23 2016 3:30 PM
Hi everyone!
 
I am randomly new to C# and Visual Studio. I have learning C# from the book Microsoft Visual C# Step by Step (8th Ed) by John Sharp. The book comes with sample programs that go along with each chapter. I have been going through each chapter and everything worked just fine (building, debugging, everything) until I got to Chapter 5 when I needed to Run to Cursor. That's when the debugger quit working.
 
I searched for answers for days (never found a solution to my problem) and then decided to just make a copy of one of the files and tried debugging that copied file. VS 2015 told me that I needed to install an emulator, which I did; however, some errors occurred and then it said that I needed to connect a Window's phone to my laptop for it. I have an iPhone, so I decided to just skip through that section of the book and try to understand everything by reading along with the book.
 
I am now at the next chapter and tried to debug the new program that is almost exactly like a program that was in an earlier chapter in the book that worked....
 
VS says "Deploy Started" then "Deploy Succeeded", but nothing happens. The form doesn't appear.
 
I went to the earlier chapter and the same thing happened. Then, I tried another program that I know worked previously. It will let me Run to Cursor, but when I try to debug it, the form never appears and VS goes back to saying "Ready" at the bottom left.
 
I am so confused about what is happening. I desperately need help in figuring out this problem.

Answers (3)