summaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
authorpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-08-24 13:35:09 +0000
committerpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-08-24 13:35:09 +0000
commitf2dac08226abe2cb23a68fa7cb4d3d89a8340b47 (patch)
tree596181ab73e87166ecb28be8427b41e8ef8dce4d /ide
parent1b2eec8e156c7b91fed53cf2feb72db404ea28d1 (diff)
downloadfpc-f2dac08226abe2cb23a68fa7cb4d3d89a8340b47.tar.gz
+ SetTBreak method added
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@15890 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'ide')
-rw-r--r--ide/fpdebug.pas8
1 files changed, 8 insertions, 0 deletions
diff --git a/ide/fpdebug.pas b/ide/fpdebug.pas
index 999c76f15e..a0bfb71324 100644
--- a/ide/fpdebug.pas
+++ b/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;