See attached project.
If I add an OpenDialog component to the project, press F9, execute the dialog in some way, and then close the running application I get a "gdb.exe has stopped running error". No problems with the project until the opendialog component is added.
Could this be a bug?
Lazarus 1.0.14 32-bit FPC 2.6.2 running on Win7 64-bit.