Cosmos/source2/Users/Kudzu/Breakpoints/BreakpointsOS.cs
mterwoord_cp 89b92ac9fd
2010-08-21 15:27:53 +00:00

26 lines
872 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Sys = Cosmos.System;
namespace BreakpointsKernel {
public class BreakpointsOS : Sys.Kernel {
protected override void BeforeRun() {
Console.WriteLine("Test");
//Debugger.Send("Hello from Cosmos!");
Console.WriteLine("3 Cosmos booted successfully. Type a line of text to get it echoed back.");
//Debugger.Break();
Console.WriteLine("Test");
}
protected override void Run() {
Console.Write("Input: ");
string xResult = Console.ReadLine();
Console.Write("Text typed: ");
Console.WriteLine(xResult);
var xDivisor = 0;
var xTest = 5 / xDivisor;
//Cosmos.Debug.Debugger.Send(xResult);
}
}
}