Selaa lähdekoodia

+ SetTBreak method added

git-svn-id: trunk@15890 -
pierre 15 vuotta sitten
vanhempi
commit
18bd6a344d
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      ide/fpdebug.pas

+ 8 - 0
ide/fpdebug.pas

@@ -58,6 +58,7 @@ type
 {$endif SUPPORT_REMOTE}
     constructor Init;
     procedure SetExe(const exefn:string);
+    procedure SetTBreak(tbreakstring : string);
     procedure SetWidth(AWidth : longint);
     procedure SetSourceDirs;
     destructor  Done;
@@ -683,6 +684,13 @@ begin
     end;
 end;
 
+    
+procedure TDebugController.SetTBreak(tbreakstring : string);
+begin
+  Command('tbreak '+tbreakstring);
+  TBreakNumber:=Last_breakpoint_number;
+end;
+
 procedure TDebugController.SetWidth(AWidth : longint);
 begin
   WindowWidth:=AWidth;