debugtest program: fixed some more compilation errors, but still doesn't compile

git-svn-id: trunk@23967 -
This commit is contained in:
vincents 2010-03-12 16:04:05 +00:00
parent 3d77cd4d3c
commit 4db9abe180

View File

@ -265,8 +265,10 @@ end;
procedure TDebugTestForm.cmdEvaluateClick(Sender: TObject);
var
S: String;
ATypeInfo: TDBGType;
begin
FDebugger.Evaluate(txtEvaluate.Text, S);
ATypeInfo := nil;
FDebugger.Evaluate(txtEvaluate.Text, S, ATypeInfo);
lblEvalResult.Caption := S;
end;
@ -288,7 +290,7 @@ end;
procedure TDebugTestForm.DBGCurrent(Sender: TObject; const ALocation: TDBGLocationRec);
begin
lblAdress.Caption := Format('$%p', [ALocation.Adress]);
lblAdress.Caption := Format('$%p', [ALocation.Address]);
lblSource.Caption := ALocation.SrcFile;
lblLine.Caption := IntToStr(ALocation.SrcLine);
lblFunc.Caption := ALocation.FuncName;