In the image below, see that all you need to do is add the line:
debugger; (red arrow)
Also, notice (blue arrow) that, just as in C#/VB.Net, as you are debugging, you can hover over a variable to get its value. Then, notice the ‘pin’ icon on the far right. While that variable allocation is visible, click on the pin, and it will pin it to your code window (moveable). That way, it’s a ‘watch’ but you don’t have to move your eyes down to or open the watch window. It stays there between coding sessions so it will be there the next time you open that file.
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF
Leave a reply
You must be logged in to post a comment.