mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 18:17:13 +01:00
FpDebug: More verbose error, if failing to open file
git-svn-id: trunk@59570 -
This commit is contained in:
parent
3f70eb5a9d
commit
b3179348c0
@ -186,7 +186,7 @@ begin
|
||||
FModulePtr := MapViewOfFile(FMapHandle, FILE_MAP_READ, 0, 0, 0);
|
||||
if FModulePtr = nil
|
||||
then begin
|
||||
raise Exception.Create('Could not map view');
|
||||
raise Exception.Create('Could not map view: ' + IntToStr(GetLastOSError));
|
||||
Exit;
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user