mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 06:09:29 +02:00
FpDebug: Change debugging flags on process creation. Allow debugged 32bit processes to launch 64bit sub-processes without the debugger interfering. Sub-processes are anyway currently not debugged. Issue #0038546
git-svn-id: trunk@64779 -
This commit is contained in:
parent
13fc4dd5e2
commit
82c6e8b284
@ -647,7 +647,8 @@ begin
|
||||
result := nil;
|
||||
AProcess := TProcessUTF8.Create(nil);
|
||||
try
|
||||
AProcess.Options:=[poDebugProcess, poNewProcessGroup];
|
||||
// To debug sub-processes, this needs to be poDebugProcess
|
||||
AProcess.Options:=[poDebugProcess, poDebugOnlyThisProcess, poNewProcessGroup];
|
||||
if siForceNewConsole in AFlags then
|
||||
AProcess.Options:=AProcess.Options+[poNewConsole];
|
||||
AProcess.Executable:=AFilename;
|
||||
|
Loading…
Reference in New Issue
Block a user