Title: [202604] trunk/Tools
Revision
202604
Author
msab...@apple.com
Date
2016-06-28 19:26:54 -0700 (Tue, 28 Jun 2016)

Log Message

btjs no longer accepts optional frame count argument
https://bugs.webkit.org/show_bug.cgi?id=159235

Reviewed by Saam Barati.

Fix the detection of optional backtrace-depth parameter to use the length
of the command.

* lldb/lldb_webkit.py:
(btjs):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (202603 => 202604)


--- trunk/Tools/ChangeLog	2016-06-29 02:07:15 UTC (rev 202603)
+++ trunk/Tools/ChangeLog	2016-06-29 02:26:54 UTC (rev 202604)
@@ -1,3 +1,16 @@
+2016-06-28  Michael Saboff  <msab...@apple.com>
+
+        btjs no longer accepts optional frame count argument
+        https://bugs.webkit.org/show_bug.cgi?id=159235
+
+        Reviewed by Saam Barati.
+
+        Fix the detection of optional backtrace-depth parameter to use the length
+        of the command.
+
+        * lldb/lldb_webkit.py:
+        (btjs):
+
 2016-06-28  Jon Lee  <jon...@apple.com>
 
         Update animometer.plan

Modified: trunk/Tools/lldb/lldb_webkit.py (202603 => 202604)


--- trunk/Tools/lldb/lldb_webkit.py	2016-06-29 02:07:15 UTC (rev 202603)
+++ trunk/Tools/lldb/lldb_webkit.py	2016-06-29 02:26:54 UTC (rev 202604)
@@ -121,7 +121,7 @@
 
     backtraceDepth = thread.GetNumFrames()
 
-    if len(command) == 1:
+    if len(command) > 0:
         try:
             backtraceDepth = int(command)
         except ValueError:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to