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 173962 89cb8d7a3719f52df7fe3b13cbfcbb7e6fe43955
parent 173961 1c32f9cb5b53e833b52ace7ccacae0a56a06d28f
child 173963 6df6b12af1b3cb41e5b6db220eeb2f88c1464210
push id5166
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:47:54 +0000
treeherdermozilla-aurora@977eb2548b2d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs959923
milestone29.0a1
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()