<p>I'm working on some code that uses the System.Diagnostics.Trace class and I'm wondering how to monitor what is written via calls to Trace.WriteLine() both when running in debug mode in Visual Studio and when running outside the debugger.</p>

[{'answer_id': 54841, 'author': 'NotMyself', 'author_id': 303, 'author_profile': 'https://Stackoverflow.com/users/303', 'pm_score': 5, 'selected': True, 'text': '<p>Try <a href="http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx" rel="nofollow noreferrer">Debug View</a>. It works quite nicely.</p>\n'}, {'answer_id': 54852, 'author': 'Andrew', 'author_id': 5662, 'author_profile': 'https://Stackoverflow.com/users/5662', 'pm_score': 1, 'selected': False, 'text': '<p>I use a simple little program called \'<a href="http://www.baremetalsoft.com/baretail/" rel="nofollow noreferrer">BareTail</a>\' which displays plain text files, updating it\'s display as the file gets written to and follows (or wraps) to the bottom of the file.</p>\n\n<p>When running outside the debugger you\'ll need to attach a file-writer to write out the trace information, which you can do by <a href="http://www.thescarms.com/dotnet/DebugTrace.aspx" rel="nofollow noreferrer">adding a few lines to the .exe.config file</a></p>\n\n<p>Hope that Helps  ;o)</p>\n'}, {'answer_id': 86842, 'author': 'nruessmann', 'author_id': 10329, 'author_profile': 'https://Stackoverflow.com/users/10329', 'pm_score': 1, 'selected': False, 'text': '<p>Have a look at <a href="http://www.devtracer.com" rel="nofollow noreferrer">DevTracer</a>. It also allows monitoring a .NET application remotely.</p>\n\n<p>DISCLAIMER: I am the developer of DevTracer and therfore my opinion may not be neutral.</p>\n'}]
['https://Stackoverflow.com/questions/54836', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/327/']