[Gambas-devel] Debugging gambas-source-code

Charlie Reinl na2492 at ...16...
Tue Mar 29 13:47:38 CEST 2005


>On Saturday 26 March 2005 21:03, Charlie Reinl wrote:
>> Salut Benoit,
>>
>> actually I succeted to work with Eclipse 3.0 on the gambas-sourccode.
>> I made it to an eclipse-project and can build it form there, without any

>> change made to the original packet from the shrine.
>>
>> Today I also succeted to custemize the eclipse - debugger (which use gdb)

>> to debug gambas.
>>
>> But I olny can debug binaries from the project, which are gba, gbc, gbi and

>> gbx.
>>
>> Not knowing gdb well, my question is, is it possible to debug components
?
>
>Yes. How could I debug them otherwise ?
>
>> And if, what have I to do to have access ?
>
>Nothing special on gdb. On Eclipse, I don't know.
>
>>
>> If I set a breakpoint in CTableView.cpp gdb
>> say
>> 'No source file named CTableView.cpp.
>> warning: Unable to find dynamic linker breakpoint function.
>> GDB will be unable to debug shared library initializers
>> and track explicitly loaded dynamic code.'
>
>gdb should be able to set dynamic breakpoints. If it does not work, just put
a 
>breakpoint in gbx.c at the line where main is called (...HOOK(main)...), and

>there put all your needed breakpoints, as all dynamic libraries will be 
>loaded. Don't forget to always run gbx2 with the '-p' option. 

Thanks,

we worked it out (see mails) it is a bug in gentoos glic


>Regards,
>
>-- 
>Benoit Minisini
>mailto:gambas at ...1...
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Gambas-devel mailing list
>Gambas-devel at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
>
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *




More information about the Devel mailing list