Marc Weustink wrote:
Hugo wrote:
Felipe Monteiro de Carvalho wrote:
On 10/28/06, Hugo <[EMAIL PROTECTED]> wrote:
 Do i have to uninstall GTK
No

How do I know what environment Lazarus is using? Thanks
I think we can be sure it´s using win32 and the problem isn´t GTK.

Can you start Lazarus from the command line and create a backtrace for
it´s crash?

Lazarus comes with a debugger called GDB. You can use it from the
command line. It´s located on lazarus/mingw/bin

Here are instructions to use it to create a backtrace:

http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB

Ok... I did the backtrace recommend by Felipe (output information
below)... I think that the real problem is the debugger itself. I
disabled it on the | Environment > Debugger Options > General > Debugger
Type and File > (none)  |  Formerly, in place of "(none)" ;  "GNU
debugger (GDB)" was selected.  After that, program as simple as the ones
on the wiki tutorial run perfectly. What should i do with the debugger?

The debugger shipped with the lazarus install should work. In fact it
did, otherwise you couldn't produce the backtrace.

About the backtrace, it is known that gdb cant backtrace into win32
system libs. So most of it can be ignored.

////////OUTPUT INFORMATION FROM GDB//////////////

GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...

Replace this GDB with i686-mingw version from www.mingw.org and all should be fine.


Regards
Boguslaw


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to