using System; using System.Collections.Generic; using System.Linq; using System.Text; using Indy.IL2CPU.IL.X86.Native.CustomImplementations.System.Diagnostics; namespace Indy.IL2CPU.IL.X86.Native { public class Call: X86.Call { public Call(ILReader aReader, MethodInformation aMethodInfo) : base(aReader, aMethodInfo) { } protected override void HandleDebuggerBreak() { //var xMethod = Engine.GetMethodBase(Engine.GetType("mscorlib", "System.Diagnostics.Debugger"), "Break", new string[0]); //Engine.QueueMethod(xMethod); //new Assembler.X86.Call(Indy.IL2CPU.Assembler.Label.GenerateLabelName(xMethod)); //new Assembler.X86.Native.Cli(); new Assembler.X86.Call(Indy.IL2CPU.Assembler.X86.Native.Assembler.BreakMethodName); //new IL2CPU.Assembler.X86.Native.Break(); } } }