Hello all!
I've tried to debug a program that uses tprocess to call another executable and with fpdebug always returns
"failed to execute : 50".
Same problem for me: Windows 10 64 bit, with Lazarus 2.1.0 r63602 FPC 3.2.0 i386-win32-win32/win64
Hi,
sorry, you're right, in the Italian version of Windows, "C:\ Programmi" is a link to "C: \ Program Files".
I still tried to put in the path "C:\ Program Files", but I get the same error.
As you suggested, I tried this:After rebuilding the IDE it works !!!
//AProcess.Options:=[poDebugProcess, poNewProcessGroup]; AProcess.Options:=[poDebugOnlyThisProcess, poNewProcessGroup];
My situation is:
- Windows 64 bit
- Lazarus 2.1.0 r64457 FPC 3.2.0 i386-win32-win32/win64
- Notepad++ 64 bit
Thanks, Mario
Can you tell me how to change poDebugOnlyThisProcess ? i've changed the code in components\fpdebug\fpdbgwinclasses.pas and recompiled all lazarus but it keeps giving error 50.
DEBUG_PROCESS.
If this flag is combined with DEBUG_ONLY_THIS_PROCESS,
it will be a fix for this? i mean in a future version of lazarus would this work?
Thanks for the support.