Game Development Reference
In-Depth Information
After setting the tracepoint in the selected line in the code editor and running the
application via the attachment with MonoDevelop, the game will run as normal,
directly from the Unity Editor. However, when the tracepoint is encountered, the
application will not pause or enter the break mode as it would with breakpoints.
Instead, the tracepoint will automatically output its printed statements to
MonoDevelop's Application Output window, without causing a pause.
By default, this window is docked at the bottom of the MonoDevelop interface:
Tracepoints can print statements such as Debug.Log to the Application Output window in MonoDevelop
Tracepoints are an effective and helpful alternative to using the Debug.Log
statements inside Unity, and you don't need to amend your code in any way to
use them as you do with Debug.Log . Unfortunately, they don't print directly to
Unity's Console . Instead, they appear inside the Application Output window in
MonoDevelop. However, as long as you recognize this, working with tracepoints
can be a powerful and useful method to find and remove bugs.
 
Search WWH ::




Custom Search