I try it on two different ways:

1 - With gbx3

[linus@linusky ~]$ cd /local/Gambas-3/gbEditor3
[linus@linusky gbEditor3]$ gdb gbx3
GNU gdb (GDB) Fedora (7.2-52.fc14)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gbx3...Reading symbols from 
/usr/lib/debug/usr/bin/gbx3.debug...done.
done.
(gdb) run
Starting program: /usr/bin/gbx3 
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 2906.
ASSERT: "sysTrayWindow != None" in file systemtrayicon.cpp, line 185

Program received signal SIGABRT, Aborted.
0x00110416 in __kernel_vsyscall ()
Missing separate debuginfos, use: debuginfo-install dbus-libs-1.4.0-3.fc14.i686 
expat-2.0.1-10.fc13.i686 flac-1.2.1-6.fc12.i686 fontconfig-2.8.0-2.fc14.i686 
freetype-2.4.2-7.fc14.i686 glib2-2.26.0-2.fc14.i686 glibc-2.13-2.i686 
keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.8.4-3.fc14.i686 
lcms-libs-1.19-2.fc14.i686 libICE-1.0.6-2.fc13.i686 libSM-1.1.0-7.fc12.i686 
libX11-1.3.4-4.fc14.i686 libXau-1.0.6-1.fc14.i686 libXcursor-1.1.10-5.fc14.i686 
libXdmcp-1.0.3-3.fc13.i686 libXext-1.1.2-2.fc14.i686 
libXfixes-4.0.5-1.fc14.i686 libXft-2.1.14-1.fc13.i686 libXi-1.3.2-1.fc14.i686 
libXinerama-1.1-2.fc13.i686 libXpm-3.5.8-2.fc13.i686 
libXrandr-1.3.0-5.fc13.i686 libXrender-0.9.6-1.fc14.i686 
libXtst-1.0.99.2-3.fc12.i686 libasyncns-0.8-1.fc13.i686 
libcom_err-1.41.12-6.fc14.i686 libgcc-4.5.1-4.fc14.i686 
libjpeg-turbo-1.1.1-1.fc14.i686 libmng-1.0.10-4.fc12.i686 
libogg-1.2.0-1.fc14.i686 libpng-1.2.46-1.fc14.i686 
libqzeitgeist-0.7.0-1.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 
libsndfile-1.0.25-1.fc14.i686 libstdc++-4.5.1-4.fc14.i686 
libtiff-3.9.5-1.fc14.i686 libuuid-2.18-4.8.fc14.i686 
libvorbis-1.3.1-2.fc14.i686 libxcb-1.7-1.fc14.i686 openssl-1.0.0e-1.fc14.i686 
phonon-4.5.1-1.fc14.i686 pulseaudio-libs-0.9.21-7.fc14.i686 
pulseaudio-libs-glib2-0.9.21-7.fc14.i686 qt-4.7.4-7.fc14.i686 
qt-webkit-4.7.4-7.fc14.i686 qt-x11-4.7.4-7.fc14.i686 
qt4-theme-bespin-0.1-0.2.20090828svn668.fc12.i686 sqlite-3.6.23.1-1.fc14.i686 
tcp_wrappers-libs-7.6-59.fc14.i686 zlib-1.2.5-2.fc14.i686
(gdb) 


2 - With gbr3

[linus@linusky /]$ cd /local/Gambas-3/gbEditor3
[linus@linusky gbEditor3]$ gdb gbr3
GNU gdb (GDB) Fedora (7.2-52.fc14)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gbr3...Reading symbols from 
/usr/lib/debug/usr/bin/gbx3.debug...done.
done.
(gdb) run
Starting program: /usr/bin/gbr3 
[Thread debugging using libthread_db enabled]
ERROR: #35: Cannot open file '.': No such device

Program exited with code 01.
Missing separate debuginfos, use: debuginfo-install glibc-2.13-2.i686 
libgcc-4.5.1-4.fc14.i686
(gdb) quit


Olivier Cruilles
Mail: linu...@club-internet.fr

Le 13 mai 2012 à 19:29, Benoît Minisini a écrit :

> Le 13/05/2012 19:13, Olivier Cruilles a écrit :
>> 
>> Can you remember me the command to debug gambas3 execution please ?
>> 
>> Olivier Cruilles
>> Mail: linu...@club-internet.fr
>> 
> 
> $ gdb gbr3
> ...
> (gdb) gbr3 /path/to/gambas3.gambas -- <arguments>
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to