Hans-Peter Diettrich wrote:
Marc Weustink schrieb:

What if you run a gdb from the command line ?

I'm somewhat confused. There seem to exist two gdb.exe on my system,
with slightly different version numbers, but I can locate only one.
Typically Windows - protect the system from the user :-(

After some tries: found the other (32 bit?) gdb, and renamed it. Also
removed the path to FPC 2.4.0 (32 bit).

make sure you use only mingw based gdb for lazarus and not a cygwin based (cygwin has a console which doesn't use stdin/out)

Does the debuggeroutput window show something ?

Now gdb allows to run the test program, where the other gdb (32 bit)
couldn't identify the file format (64 bit).

Nonetheless when I run the same program from the Lazarus IDE, no console
window opens :-(

You cannot debug console apps in lazarus.

Marc

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to