Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Latest commit

 

History

History

output_information_to_log_window

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
id title brief article
8049271B-C772-4E25-7EB5-DCD6713FFDB8
Output Information to Log Window
This recipe shows how to debug using the log window.

Recipe

The log window is a useful debugging tool, and is simple to use.

  1. First, locate the log window. You can toggle it in Visual Studio for Mac by selecting the Application Output panel on the bottom right:

In Visual Studio, select the Output panel on the bottom left:

  1. Choose a point in your code where you would like to output information to the log window:

  1. Get the console to give you some helpful feedback about what is going on in your code. For example, you can have it output a message when a particular event occurs: