Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cs-312:simple-debugging [2014/12/31 20:47] (current)
ringger created
Line 1: Line 1:
 +* The .NET framework includes a [http://​msdn.microsoft.com/​en-us/​library/​system.console.aspx <​code>​System.Console</​code>​] class with several helpful methods, including <​code>​WriteLine()</​code>​.
 +* You may use this to do "​printf"​-style instrumentation for debugging (as we old-time C-programmers like to call it).
 +* Use the [http://​msdn.microsoft.com/​en-us/​library/​3hk6fby3.aspx <​tt>​Output</​tt>​ window in Visual Studio] to view any messages sent to the output using the <​code>​Console</​code>​ class while debugging.
 +** Note that other messages appear there, including messages about thread termination,​ for example.
 +** If you run your project outside the debugger, the output is lost.
  
cs-312/simple-debugging.txt ยท Last modified: 2014/12/31 20:47 by ringger
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0