[Lazarus] Terminal window while debugging
Martin Frb
lazarus at mfriebe.de
Sun Mar 5 20:14:36 CET 2017
On 05/03/2017 18:53, Darius Blaszyk via Lazarus wrote:
>>> On Linux I don't get the terminal to show when debugging a command
>>> line application. How can I instruct the IDE to display the
>>> terminal? There is the console window, but I prefer to see the
>>> terminal instead. On windows this seems to be handled just fine. I'm
>>> using 1.6.4
>
> With "console window" I was referring to the "terminal output" debug
> window.
The best way is to provide patches, and make the "terminal output"
window more comfortable / add functions a terminal would have....
> What setting would that be? Are you possibly referring to the "run
> parameters" dialog and the "launching application" setting? Activating
> that gives the following error:
>
> "/usr/bin/gnome-terminal": not in executable format: File format not
> recognized
>
I don't think you can start it directly with F9 inside any terminal app.
You can of course run it in a terminal (outside the IDE), and then
attach to it (assuming it waits somewhere so you have time)
An other options is
http://wiki.lazarus.freepascal.org/Debugger_Console_App#Redirect_input_and_output_to_a_pty_.28terminal.29
But it is not very convenient either
More information about the Lazarus
mailing list