Browse Source

* use the Backtrace method (which supports gdb/mi) instead of issuing the
command directly in TDebugController.DoSelectSourceLine

git-svn-id: trunk@29802 -

nickysn 10 years ago
parent
commit
ac79722eb2
1 changed files with 1 additions and 4 deletions
  1. 1 4
      ide/fpdebug.pas

+ 1 - 4
ide/fpdebug.pas

@@ -1367,10 +1367,7 @@ begin
             Command('continue');
             exit;
           end;
-        { forget all old frames }
-        clear_frames;
-        { record new frames }
-        Command('backtrace');
+        Backtrace;
         for i:=0 to frame_count-1 do
           begin
             with frames[i]^ do