private void debug当前代码ToolStripMenuItem_Click(object sender, EventArgs e) { CompilerLockUI(false); ASMCompiler.Run(asmETools.code, isDebug: true);//把当前编辑器的代码传入编译器进行编译,以Debug模式启动 }
private void 查看编译LST文件ToolStripMenuItem_Click(object sender, EventArgs e) { infoBrowser.Visible = false; configTB.Visible = true; configTB.Text = ASMCompiler.GetLST(); }
private void 编译ToolStripMenuItem_Click(object sender, EventArgs e) { CompilerLockUI(false); //防止编译器多次启动 ASMCompiler.Run(asmETools.code, isDebug: false); //把当前编辑器的代码传入编译器进行编译,以非Debug模式启动 }
private void LSTEvent(object sender, EventArgs e) { infoBrowser.Visible = false; configTB.Visible = true; configTB.Text = ASMCompiler.GetLST(); }
private void DebugEvent(object sender, EventArgs e) { CompilerLockUI(false); ASMCompiler.Run(asmETools.code, isDebug: true);//把当前编辑器的代码传入编译器进行编译,以Debug模式启动 }
//######################## 编译和调试线程 ######################### private void RunEvent(object sender, EventArgs e) { compilerConfigListView.Items.Clear(); CompilerLockUI(false); //防止编译器多次启动 ASMCompiler.Run(asmETools.code, isDebug: false); //把当前编辑器的代码传入编译器进行编译,以非Debug模式启动 }