Bug 959923 - Add lldb alias to dump the JS stack. (DONTBUILD) r=ehsan
authorCameron McCormack <cam@mcc.id.au>
Thu, 16 Jan 2014 17:51:54 +1100
changeset 163661 89cb8d7a3719f52df7fe3b13cbfcbb7e6fe43955
parent 163660 1c32f9cb5b53e833b52ace7ccacae0a56a06d28f
child 163662 6df6b12af1b3cb41e5b6db220eeb2f88c1464210
push id38531
push usercmccormack@mozilla.com
push dateThu, 16 Jan 2014 06:52:16 +0000
treeherdermozilla-inbound@a7b4836e8ceb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs959923
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 959923 - Add lldb alias to dump the JS stack. (DONTBUILD) r=ehsan
.lldbinit
--- a/.lldbinit
+++ b/.lldbinit
@@ -15,8 +15,11 @@ settings set target.prefer-dynamic-value
 # the top level source directory.
 script sys.path.append('python/lldbutils'); import lldbutils; lldbutils.init()
 
 # Show the string value in atoms.
 type summary add nsIAtom --summary-string "${var.mString}"
 
 # Show the value of text nodes.
 type summary add nsTextNode --summary-string "${var.mText}"
+
+# Dump the current JS stack.
+command alias js expr DumpJSStack()