mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 01:59:29 +01:00
FpDebug: test, increase timeout to reduce false failures
git-svn-id: trunk@61965 -
This commit is contained in:
parent
cf8b7f94fe
commit
50cb78378e
@ -161,7 +161,9 @@ begin
|
||||
AssertDebuggerState(dsPause);
|
||||
TestLocation('At BrkThreadCreateInStep', 'BrkThreadCreateInStep', -1);
|
||||
|
||||
Debugger.RunToNextPause(dcStepOver);
|
||||
// This test can take longer, as the new thread gets very little scheduler time
|
||||
// during the single stepping of the main thread.
|
||||
Debugger.RunToNextPause(dcStepOver, 25000);
|
||||
AssertDebuggerState(dsPause);
|
||||
TestLocation('At AfterThreadCreateInStep', 'AfterThreadCreateInStep', -1);
|
||||
TestEquals('ThreadId AfterThreadCreateInStep', ThreadIdMain, dbg.Threads.CurrentThreads.CurrentThreadId);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user