0
간단한 C# 콘솔 응용 프로그램 (아래 코드)이 있다고 가정합니다. mdbg manager wrapper를 사용하여 단계별로 디버깅하고 싶습니다.MDbgEngine을 사용하여 단계별 관리 코드를 디버깅하는 방법
using System;
namespace TestApplication
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("1");
Console.WriteLine("2");
Console.WriteLine("3");
Console.WriteLine("4");
Console.WriteLine("5");
}
}
}
MDbgEngine을 사용하여이 코드를 단계별로 디버깅하는 방법은 무엇입니까?
[MTAThread]
static void Main(string[] args)
{
var debugger = new MDbgEngine();
debugger.Options.CreateProcessWithNewConsole = true;
debugger.Options.StopOnException = true;
var process = debugger.CreateProcess("TestApplication.exe", "", DebugModeFlag.Debug, null);
process.Go();
//HOW TO GO STEP BY STEP TROUGH THE TestApplication?
}