mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Cosmos.Build.MSBuild;
|
|
|
|
namespace DebugCompiler
|
|
{
|
|
internal class Program
|
|
{
|
|
public static void Main()
|
|
{
|
|
//var task = new ExtractMapFromElfFile
|
|
var task = new ReadNAsmMapToDebugInfo()
|
|
{
|
|
//CosmosBuildDir = @"c:\Data\Sources\Cosmos\Build",
|
|
//InputFile = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\Kudzu.Breakpoints.bin",
|
|
//WorkingDir = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\"
|
|
DebugInfoFile = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\Kudzu.Breakpoints.cdb",
|
|
InputBaseDir = @"e:\OpenSource\Cosmos\Demos\Guess\bin\Debug"
|
|
};
|
|
var sw = Stopwatch.StartNew();
|
|
//task.UseConsoleForLog = true;
|
|
task.Execute();
|
|
sw.Stop();
|
|
Console.WriteLine("Took {0}", sw.Elapsed);
|
|
}
|
|
}
|
|
}
|