I didn’t see any output in the console or Visual Studio’s output panel from:
Debug.Write("WriteStatements() was reached")
Where does the output go to?
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.
It writes to the default trace listener, which you would need to turn on:
If you want this directed to the console you would need to add an instance of the ConsoleTraceListener:
In your .config file ensure you have the following entries:
You may also need to ensure that you’ve included the
/d:TRACEflag when compiling your project to enable the output.