Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: how to compile in debug mode?

83 views
Skip to first unread message
Message has been deleted

Ed Morley

unread,
Jan 8, 2013, 7:16:54 AM1/8/13
to jan....@gmx.net, dev-b...@lists.mozilla.org
On 08 January 2013 11:52:07, jan....@gmx.net wrote:
> i have some problems with firefox, but i can't see any informations.
>
> now i have a question: how can i compile firefox in "debug mode", so i see all errors / warnings / exceptions in console "cmd.exe" ?
>
> what development environment i need to compile a windows exe? microsoft visual c++ in what version?

Hi Jan

To compile in debug mode, you'll need to add a line to your mozconfig.
The specifics of that and also the required development environment are
listed at:
https://developer.mozilla.org/en-US/docs/Simple_Firefox_build

If you have any problems, let us know :-)

Kind regards,

Ed

Thibault Cassan

unread,
Jan 8, 2013, 7:32:42 AM1/8/13
to dev-b...@lists.mozilla.org
Hi,
 
I have a list of pages that might interest you.
 
It explains a way to build firefox sources.
 
There is also a page on how to build Thunderbird (this is the same as building Firefox) there: http://adullact.net/plugins/mediawiki/wiki/milimail/index.php/Developer_Documentation#Build_Trustedbird_email_client
Latest version can be builts with MSVC 10 compiler.
 
To enable debug mode, I think you have to remove 'ac_add_options --disable-debug' from the .mozconfig.
 
I'm not sure this can be done easily on Windows, I never tried.

Hoping this helps,
Thibault
2013/1/8 <jan....@gmx.net>
hi at all


i have some problems with firefox, but i can't see any informations.

now i have a question: how can i compile firefox in "debug mode", so i see all errors / warnings / exceptions in console "cmd.exe" ?

what development environment i need to compile a windows exe? microsoft visual c++ in what version?


thanks for feedback,
jan
_______________________________________________
dev-builds mailing list
dev-b...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Message has been deleted

Ted Mielczarek

unread,
Jan 8, 2013, 6:46:03 PM1/8/13
to dev-b...@lists.mozilla.org
On 1/8/2013 4:18 PM, jan....@gmx.net wrote:
>
> hi at all!
>
> thank you for your feedbacks!
>
> it's a bit complicated, but not impossible for to compile it...
>
> there is no other way to run firefox (public production release) in debug mode?
>
> so i saw, there is a paramter "-console", that starts a debug window when firefox starts. but i can't see any messages there. (no infos, warnungs, errors, whatever...)
>
> the reason that i want some debug messages is because sometime i have problems with firefox, it's not able to save images. (when i chose "Save images as...", NOTHING happens...)
>
No, most debug checks are discarded at compile-time in release builds
because they make code slower. You can, however, debug them in a
debugger using our symbol server:
https://developer.mozilla.org/en-US/docs/Using_the_Mozilla_symbol_server

-Ted

Message has been deleted
Message has been deleted
Message has been deleted
0 new messages