Преглед на файлове

* prepend the watch value with '= ' to keep the old way the IDE watches looked
like (the '= ' used to come from the gdb output and was intentionally kept by
the response parsing code, which is now removed)

git-svn-id: trunk@30059 -

nickysn преди 10 години
родител
ревизия
7acc709ac0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ide/fpdebug.pas

+ 1 - 1
ide/fpdebug.pas

@@ -2948,7 +2948,7 @@ procedure TWatch.Get_new_value;
            loop_higher:=false;
       end;
     if found then
-      current_value:=StrNew(PChar(s))
+      current_value:=StrNew(PChar('= ' + s))
     else
       current_value:=StrNew(PChar(orig_s_result));
     Debugger^.got_error:=false;