Grups de Google ja no admet publicacions ni subscripcions noves de Usenet. El contingut antic es pot continuar consultant.

debugging firefox extesnion?

2 visualitzacions
Ves al primer missatge no llegit

raj

no llegida,
28 de nov. 2006, 0:47:3928/11/06
a
hi,
I am developing a firefox extension which use third party libraries.I
set up the development environment using this guide
http://developer.mozilla.org/en/docs/Creating_Custom_Firefox_Extensions_with_the_Mozilla_Build_System

It end up with a shared libaray, of the source. Now I need to debug.So
any body knows how to debug the source
Thanks
Rajika

Christian Biesinger

no llegida,
28 de nov. 2006, 13:19:4128/11/06
a dev-tec...@lists.mozilla.org
raj wrote:
> It end up with a shared libaray, of the source. Now I need to debug.So
> any body knows how to debug the source

Run Firefox in the debugger, and set breakpoints in your source files as
usual... is that the answer you were looking for?


--
All the world's a stage,
And all the men and women merely players:
They have their exits and their entrances;
And one man in his time plays many parts, [...] --W. Shakespeare

danr

no llegida,
28 de nov. 2006, 23:22:0628/11/06
a

danr

no llegida,
28 de nov. 2006, 23:27:0028/11/06
a

danr wrote:
> Christian Biesinger wrote:
> > raj wrote:
> > > It end up with a shared libaray, of the source. Now I need to debug.So
> > > any body knows how to debug the source
> >
> > Run Firefox in the debugger, and set breakpoints in your source files as
> > usual... is that the answer you were looking for?
> >
> >Yer but I need to know how to compile the source to end up with a exutable (insted of the shared library) with debug information on(with -g option) ,Am I to chage ./config/autoconf.mk and ./config/rules.mk in the mozilla code base ? If so please tell me how to that ?
Thanks

Christian Biesinger

no llegida,
3 de des. 2006, 11:25:363/12/06
a dev-tec...@lists.mozilla.org
danr wrote:
> Yer but I need to know how to compile the source to end up with a
> exutable (insted of the shared library) with debug information
> on(with -g option) ,Am I to chage ./config/autoconf.mk and
> ./config/rules.mk in the mozilla code base ? If so please tell me how
> to that ?

No, just open the Firefox executable in your debugger and run that. If
you want a more concrete reply, you need to tell us what debugger you
are using.

0 missatges nous