Cosmos/source2/Users/Kudzu/Breakpoints/BreakpointsOS.cs
kudzu_cp f9738b56b4
2010-08-20 22:52:02 +00:00

24 lines
802 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);
//Cosmos.Debug.Debugger.Send(xResult);
}
}
}