Hi,
I am a lazarus/freepascal user and I notice it is not possible to debug a console application (freevision), when both the console screen and keyboard are initialized. This is because a console application is executed in a terminal; hence when a debug session is launched from Lazarus, it will try to debug the xterm session instead of the application. One possible way to debug a console application is running the console app in one terminal and debug the application in another terminal by attaching to the running PID. However, gdb debuging output is nasty and cant easily be navigated as within a Lazarus debug session.
My question is, is it possible for lazarus to attach a debuger to a running process by PID? This would be very nice because it will allow debuging capability for console applications that required a x-terminal to run on. Thank you,
Toan
