mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-26 13:57:37 +01:00
GdbmiDebugger, Test: minor fixes
git-svn-id: trunk@64957 -
This commit is contained in:
parent
474161d379
commit
3bfe6e5a2c
@ -714,6 +714,7 @@ begin
|
|||||||
Src := GetCommonSourceFor(AppDir + 'ExceptTestPrg.pas');
|
Src := GetCommonSourceFor(AppDir + 'ExceptTestPrg.pas');
|
||||||
TestCompile(Src, ExeName);
|
TestCompile(Src, ExeName);
|
||||||
|
|
||||||
|
FGotExceptCount := 0;
|
||||||
dbg := StartGDB(AppDir, ExeName);
|
dbg := StartGDB(AppDir, ExeName);
|
||||||
try
|
try
|
||||||
dbg.Exceptions.Add('MyExceptionIgnore').Enabled := False;
|
dbg.Exceptions.Add('MyExceptionIgnore').Enabled := False;
|
||||||
|
|||||||
@ -1778,6 +1778,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
dbg := StartGDB(AppDir, TestExeName);
|
dbg := StartGDB(AppDir, TestExeName);
|
||||||
|
try
|
||||||
try
|
try
|
||||||
FWatches := Watches.Watches;
|
FWatches := Watches.Watches;
|
||||||
|
|
||||||
@ -1878,9 +1879,11 @@ begin
|
|||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
dbg.Done;
|
finally
|
||||||
CleanGdb;
|
dbg.Done;
|
||||||
dbg.Free;
|
CleanGdb;
|
||||||
|
dbg.Free;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TTestWatches.TestWatches;
|
procedure TTestWatches.TestWatches;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user