Zitat von Tom Verhoeff <T.Verhoeff@tue.nl>:

> On Tue, Dec 09, 2008 at 04:08:36PM +0100, svaa wrote:
> >
> > I have 0.9.26 on Ubuntu 7.10. I am writing a GUI program, since debugger
> > has problems to check the values of variables, I want to output debug
> > data with "writeln" but I  can't get a terminal with if it is not
> > console application.
> >
> > How can I get a to have the GUI program running and a terminal window also?
>
> In Project > Compiler Options > Linking: uncheck "Win32 gui application"
> (that Win32 is a legacy name).  I believe that checkmark only
> suppresses the terminal window (but other should be able to shed
> more light on this).

This option has no impact on linux - it is only for windows.

You have two options:
a) View / Debug windows / Debug output
This shows the output of your program, but it is not as mighty as a your
favorite linux terminal.

b) start your favorite terminal and use the gnu debugger directly. See

http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB#Linux.2FBSD_Users


Mattias


