This commit is contained in:
kudzu_cp 2010-08-13 03:22:37 +00:00
parent 9206f15b2e
commit ac9f86fd35
2 changed files with 12 additions and 1 deletions

View file

@ -100,6 +100,17 @@
debugger and use additional functionality. It is accessed using the Debugger
class in the Cosmos.Debug namespace in the Cosmos.Kernel assembly. This assembly
is used by all Cosmos projects.</p>
<pre>Debugger.Break();</pre>
<p>
Break can be used to issue a code based break. Visual Studio will break on the
line after this statement. Since Cosmos does not support conditional breaks in
the IDE yet, code base breaks are very useful for implementing such. For
example:</p>
<pre>if (x == 5) {
Debugger.Break();
}</pre>
<p>
&nbsp;</p>
<h3>
What&#39;s the catch?</h3>
<p>

View file

@ -92,7 +92,7 @@ namespace Cosmos.Debug.VSDebugEngine {
if (String.IsNullOrEmpty(xVmwPath) || !File.Exists(xVmwPath))
{
MessageBox.Show("VWMare not installed, probably going to crash now!", "Cosmos DebugEngine", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show("VWMare is not installed, probably going to crash now!", "Cosmos DebugEngine", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}