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 179761 89cb8d7a3719f52df7fe3b13cbfcbb7e6fe43955
parent 179760 1c32f9cb5b53e833b52ace7ccacae0a56a06d28f
child 179762 6df6b12af1b3cb41e5b6db220eeb2f88c1464210
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [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()