Rich Fanso wrote:

I wrote a c++ xpcom component and hooked into mozilla. But I have no idea how to debug it with gdb under linux. Now I have to output variable values to file, then to inspect the file. This method is cumbersom :-<. Could anyone be kind to tell me how to debug hooked component using gdb or other debugger under linux? Thanks a lot :-)
-Rich
------------------------------------------------------------------------
Do you Yahoo!?
Get better spam protection with Yahoo! Mail <http://us.rd.yahoo.com/mailtag_us/*http://antispam.yahoo.com/tools>


what problem are you having? if you are used to debugging normal applications under gdb, then perhaps these tips will be useful to you:

http://www.mozilla.org/unix/debugging-faq.html

-darin
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to