I tried to run the project again and the same things happens again. I attached the debug output ... not sure if it helps (forgive me for not being very knowledgeable).
The same means "debugger entered error state" ?
Unfortunately there is nothing in the debug output that helps.
Also you should open the debug output window *before* you press run. Otherwise it will be incomplete (it is missing a whole lot of the startup)
Only thing I can see is, that it showed the blue dots for unit1, and the continued running. The last thing gdb said, was that the app was running.
----
Actually on a second look. It seems there is something, but I really have no idea what to make out of it....
It seems you gdb totally messes up it's output.
At startup the IDE sets an internal breakpoint, which gets hit. That's all working. When the breakpoint is hit, gdb outputs some info.
Now from the output it does look like gdb is holding back some of the output, and prints it at a random later time.
Which of course means it isn't expected.
However from the debug output I can not tell if that leads to the error, or is unrelated....
Or maybe even is a problem of TMemo, and doesn't even happen for real....
----
the only way to find anything is to recompile the IDE with
-dDBG_VERBOSE -dDBGMI_QUEUE_DEBUG
and start the IDE with --debug-log=file
and then to zip and attach that log file