CompilerConfig compiler = ideSettings.GetCompilerConfig(ide.workspace.compiler);
ProjectConfig config = projectView.project.config;
int bitDepth = ide.workspace.bitDepth;
- ide.debugger.RunToCursor(compiler, config, bitDepth, fileName, line, false);
+ ide.debugger.RunToCursor(compiler, config, bitDepth, fileName, line, false, false);
delete compiler;
}
}
CompilerConfig compiler = ideSettings.GetCompilerConfig(ide.workspace.compiler);
ProjectConfig config = projectView.project.config;
int bitDepth = ide.workspace.bitDepth;
- ide.debugger.RunToCursor(compiler, config, bitDepth, fileName, line, true);
+ ide.debugger.RunToCursor(compiler, config, bitDepth, fileName, line, true, false);
+ delete compiler;
+ }
+ return true;
+ }
+ };
+ MenuItem debugSkipRunToCursorAtSameLevel
+ {
+ debugMenu, $"Run To Cursor At Same Level Skipping Breakpoints", u, Key { f10, alt = true };
+ bool NotifySelect(MenuItem selection, Modifiers mods)
+ {
+ ProjectView projectView = ide.projectView;
+ int line = editBox.lineNumber + 1;
+ if(projectView)
+ {
+ CompilerConfig compiler = ideSettings.GetCompilerConfig(ide.workspace.compiler);
+ ProjectConfig config = projectView.project.config;
+ int bitDepth = ide.workspace.bitDepth;
+ ide.debugger.RunToCursor(compiler, config, bitDepth, fileName, line, true, true);
delete compiler;
}
return true;
{
debugRunToCursor.disabled = unavailable || executing;
debugSkipRunToCursor.disabled = unavailable || executing;
+ debugSkipRunToCursorAtSameLevel.disabled = unavailable || executing;
debugToggleBreakpoint.disabled = bpNoToggle;
}