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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202604
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2016-06-28 Michael Saboff <msaboff@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 <jonlee@apple.com>
Update animometer.plan
backtraceDepth = thread.GetNumFrames()
- if len(command) == 1:
+ if len(command) > 0:
try:
backtraceDepth = int(command)
except ValueError: