Explorar o código

* 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 %!s(int64=10) %!d(string=hai) anos
pai
achega
7acc709ac0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;