User:Pierre

From Lazarus wiki
Jump to navigationJump to search

Free Pascal IDE debugging issues

Win32 IDE specific issues

The win32 IDE uses libgdb compiled in cygwin, and as such needs the cygwin1.dll to run.

Unfortunately, this can lead to problems:

It appears that the debugging does not work correctly with newer version of the DLL than the one used to compile the libgdb (the one tht is supplied in the same directory as fp.exe when installing win32 Free Pascal).

The problem is that there is a special mechanism in cygwin that forbids the simultaneous use of different versions of the cygwin DLL (this is apparently due to the fact that the DLL uses a common shared memory available for all cygwin processes).

Because of this, if you run an up-to-date Cygwin installation, and try to start fp.exe, you will get a failure message.