Bug 877516 - Add MOZ_DUMP_INVALIDATION to enable invalidation logging. r=roc

This commit is contained in:
Matt Woodrow 2013-05-30 14:43:43 +12:00
parent 237b50e71a
commit d9dcc3425f

View File

@ -1717,7 +1717,7 @@ public:
* allow it to be accessed an manipulated from breakpoint conditions.
*/
static bool InvalidationDebuggingIsEnabled() {
return sInvalidationDebuggingIsEnabled;
return sInvalidationDebuggingIsEnabled || getenv("MOZ_DUMP_INVALIDATION") != 0;
}
static void Initialize();