enabling the layout debugger in non-debug builds

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

enabling the layout debugger in non-debug builds

Cameron McCormack-4
I just landed a change to autoland that adds a new configure option to enable building of the layout debugger even in non-DEBUG builds.  You can add this line to your .mozconfig:

ac_add_options --enable-layout-debugger

This might be useful to you if you want to run a test case under a profiler other than the Gecko profiler, and avoid any effects from the random other stuff that the browser does in the background.

Some of the menu options, like frame tree dumping, don't do anything in a non-DEBUG build, since nsIFrame::List and friends are ifdefed out.  We could fix that if it's important.
_______________________________________________
dev-tech-layout mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-layout
Reply | Threaded
Open this post in threaded view
|

Re: enabling the layout debugger in non-debug builds

Ehsan Akhgari
Thank you, I've needed this a number of times and it's been a papercut so
far.  :-)

On Mon, Dec 10, 2018 at 6:54 PM Cameron McCormack <[hidden email]> wrote:

> I just landed a change to autoland that adds a new configure option to
> enable building of the layout debugger even in non-DEBUG builds.  You can
> add this line to your .mozconfig:
>
> ac_add_options --enable-layout-debugger
>
> This might be useful to you if you want to run a test case under a
> profiler other than the Gecko profiler, and avoid any effects from the
> random other stuff that the browser does in the background.
>
> Some of the menu options, like frame tree dumping, don't do anything in a
> non-DEBUG build, since nsIFrame::List and friends are ifdefed out.  We
> could fix that if it's important.
> _______________________________________________
> dev-tech-layout mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-layout
>


--
Ehsan
_______________________________________________
dev-tech-layout mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-layout