Cosmos/source2/Users/Kudzu/Breakpoints/Program.cs

30 lines
873 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Debug;
namespace BreakpointsKernel
{
public class Kernel
{
public static void Boot() {
var xBoot = new Cosmos.Sys.Boot();
xBoot.Execute();
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");
while (true)
{
Console.Write("Input: ");
string xResult = Console.ReadLine();
Console.Write("Text typed: ");
Console.WriteLine(xResult);
//Cosmos.Debug.Debugger.Send(xResult);
}
}
}
}