Thanks,
jjb
Do you actually want ac_add_options --enable-debugger-info-modules ?
This enables symbols for the build.
Frank
Yes, indeed. However this option has no effect unless you pick either
"debug" or "optimize". Apparently --enable-debugger-info-modules is
closely related to MOZ_DEBUG_SYMBOLS; I set them both on.
jjb
Well, the default on Firefox trunk with no options set is a normal
optimized build (-O2). So I cannot tell what's wrong with your build.
Maybe note that enable-debugger-info-modules does not enable symbols for
NSS/NSPR, for that you need to set MOZ_DEBUG_SYMBOLS as far as I know.
Frank
Yes, thanks, I use that quite successfully with windbg (well if any
session with windbg can be considered a success).
But now I want to change the code and, perhaps a debugger will be handy.
John
I eventually got a build that starts fast but debugs well. I believe
that the secret is that
export MOZ_DEBUG_SYMBOLS=1
needs to be early in the .mozconfig file. See bug 338224 for details.
jjb