ide;debugger; (#999) added support for gdb's until and advance commands.
[sdk] / ide / src / project / ProjectView.ec
index f4a6d79..d301ac5 100644 (file)
@@ -1979,6 +1979,20 @@ class ProjectView : Window
       return true;
    }
 
+   bool DebugStepUntil(bool skip)
+   {
+      CompilerConfig compiler = ideSettings.GetCompilerConfig(ide.workspace.compiler);
+      ProjectConfig config = project.config;
+      int bitDepth = ide.workspace.bitDepth;
+      bool useValgrind = ide.workspace.useValgrind;
+
+      if((ide.debugger.isActive) || (!buildInProgress && BuildInterrim(project, start, compiler, config, bitDepth, false)))
+         ide.debugger.StepUntil(compiler, config, bitDepth, useValgrind, skip);
+
+      delete compiler;
+      return true;
+   }
+
    bool DebugStepOut(bool skip)
    {
       ide.debugger.StepOut(skip);