Aditya Pandey wrote:
> Hi Jayant
>  Thanks for replying. I have compiled my addon's files with -g option. I 
> dont think it even gets a chance to be considered by gdb (I uninstalled my 
> addon and then tried gdb-attaching to openoffice, it didnt like the idea :) 
> ).
>  Yes, I am not using a "debug" build of OpenOffice and have not set any 
> special environment variables apart from running setsdkenv script that comes 
> as part of SDK. For debugging just my addon, I dont think I need to compile 
> whole OpenOffice as a debug build (so you see no -g s).

Yes, it's enough to have your own library compiled with debug
information. IMHO it's even better not to have unnecessary debug
information because this improves performance and stability of gdb.

>  I would try the gdb 6.3 debian version, and see if that helps me.
>  Does anyone use any other gdb version or would there be a link somewhere on 
> supported compilers/debuggers?

Debugging OOo with gdb6.3 is known to work in most cases (but still
doesn't sometimes), older versions very often failed utterly - gdb is a
rather buggy tool. Sorry for the bad news.

Debugging large projects with many shared libraries still isn't gdbs
favorite playground, so it's always a game of chance if you get the
beast working.

BTW: next time please don't leave a full quote in your replies.
Reposting your complete problem description didn't add any information
but a lot of noise.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to