Cosmos/Users/Matthijs/DebugCompiler/Program.ExtractMap.cs
2014-12-30 18:42:01 +01:00

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);
}
}
}