mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 17:19:23 +02:00
DBG: auto continue on windows "DbgUiConvertStateChangeStructure"
git-svn-id: trunk@32779 -
This commit is contained in:
parent
a2db5dd194
commit
6e2dfa27a3
@ -4461,9 +4461,21 @@ function TGDBMIDebuggerCommandExecute.ProcessStopped(const AParams: String;
|
||||
{$ELSE}
|
||||
SigInt := S = 'SIGINT';
|
||||
{$ENDIF}
|
||||
if not AIgnoreSigIntState
|
||||
|
||||
{$IFdef MSWindows}
|
||||
if SigInt and (FTheDebugger.PauseWaitState = pwsNone) and
|
||||
(pos('DbgUiConvertStateChangeStructure', FTheDebugger.FCurrentLocation.FuncName) > 0)
|
||||
then begin
|
||||
Result := True;
|
||||
exit;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
if not AIgnoreSigIntState // not pwsInternal
|
||||
or not SigInt
|
||||
then begin
|
||||
// user-requested pause OR other signal (not sigint)
|
||||
// TODO: if SigInt, check that it was issued by IDE
|
||||
{$IFdef MSWindows}
|
||||
FTheDebugger.QueueExecuteLock;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user