diff --git a/components/fpdebug/fpdbgwinclasses.pas b/components/fpdebug/fpdbgwinclasses.pas index 225a9bb9f4..d243e6dbae 100644 --- a/components/fpdebug/fpdbgwinclasses.pas +++ b/components/fpdebug/fpdbgwinclasses.pas @@ -155,7 +155,7 @@ end; procedure TDbgWinProcess.LogLastError; begin - log('FpDbg-ERROR: %s', [GetLastErrorText], dllInfo); + log('FpDbg-ERROR: %s', [GetLastErrorText], dllDebug); end; function QueryFullProcessImageName(hProcess:HANDLE; dwFlags: DWord; lpExeName:LPTSTR; var lpdwSize:DWORD):BOOL; stdcall; external 'kernel32' name 'QueryFullProcessImageNameA';