I would like to log some data when I am in a for loop. How can I have the data sent to the VS2012 console so I can view it later?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
what exactly do you mean? WouldConsole.WriteLine(...)do? Have you considered reading the documentation?Update: if output for debugging purposes in the actual VS console/shell is meant, one can set actions on breakpoints (at least in VS2017):
setting an action (right click):

In VS2013 it’s called
When hitoutput action:

formatted output in the output console
