зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1275744 - Reference MOZ_LOG in leak_gauge. r=dbaron
NSPR_LOG_MODULES is deprecated. MozReview-Commit-ID: 5mugF8txPPR --HG-- extra : rebase_source : e77e805799b79e9f3cd6a1eaaa58d64592d81f33
This commit is contained in:
Родитель
f378b10947
Коммит
e91e062ab0
|
@ -275,8 +275,8 @@ leak. Once a site is known to leak, the logging can then be repeated
|
||||||
to figure out under what conditions the leak occurs.</p>
|
to figure out under what conditions the leak occurs.</p>
|
||||||
|
|
||||||
<p>The way to create this log is to set the environment variables:</p>
|
<p>The way to create this log is to set the environment variables:</p>
|
||||||
<pre> NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
|
<pre> MOZ_LOG=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
|
||||||
NSPR_LOG_FILE=nspr.log <i>(or any other filename of your choice)</i></pre>
|
MOZ_LOG_FILE=nspr.log <i>(or any other filename of your choice)</i></pre>
|
||||||
<p>in your shell and then run the program.</p>
|
<p>in your shell and then run the program.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>In a Windows command prompt, set environment variables with
|
<li>In a Windows command prompt, set environment variables with
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
# to figure out under what conditions the leak occurs.
|
# to figure out under what conditions the leak occurs.
|
||||||
#
|
#
|
||||||
# The way to create this log is to set the environment variables:
|
# The way to create this log is to set the environment variables:
|
||||||
# NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
|
# MOZ_LOG=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
|
||||||
# NSPR_LOG_FILE=nspr.log (or any other filename of your choice)
|
# MOZ_LOG_FILE=nspr.log (or any other filename of your choice)
|
||||||
# in your shell and then run the program.
|
# in your shell and then run the program.
|
||||||
# * In a Windows command prompt, set environment variables with
|
# * In a Windows command prompt, set environment variables with
|
||||||
# set VAR=value
|
# set VAR=value
|
||||||
|
|
Загрузка…
Ссылка в новой задаче