First, you set a break point at the place in your code that you would like to debug. Breakpoints are set by using the F9 key or by clicking at the the far left of the window, see animation:
When the breakpoint is set, you can run your application in debug by clicking F5, or the button on top that looks like a play button.
Once yor application gets to the locations of your breakpoint, it will start blicking yellow and you´ve now opened up the world of debugging! Your life is going to be a lot easier developing. :)
You can step in methods/constructors by clicking F11 or step through by clicking F10. See animation:
How to start debug
Hello, can someone please give me pointers on how to start debugging in VS 2015?
For example, I am having trouble logging in, and I want to debug it to see what is happening. How do I start debug and set break points?
Thank you.
Hi Don.
First, you set a break point at the place in your code that you would like to debug. Breakpoints are set by using the F9 key or by clicking at the the far left of the window, see animation:
When the breakpoint is set, you can run your application in debug by clicking F5, or the button on top that looks like a play button.
Once yor application gets to the locations of your breakpoint, it will start blicking yellow and you´ve now opened up the world of debugging! Your life is going to be a lot easier developing. :)
You can step in methods/constructors by clicking F11 or step through by clicking F10. See animation:
Hope this was helpful to you!
Thank you Dennis. My next question is debugging the backoffice. The front end calls lots angular JS, I am not sure the best way to debug angular.
May be you can use a developer tool like the Chrome developer tool and see what error messages you get in the Console?
is working on a reply...