btjs no longer accepts optional frame count argument
[WebKit-https.git] / Tools / lldb / lldb_webkit.py
index e5712a8..77df432 100644 (file)
@@ -121,7 +121,7 @@ def btjs(debugger, command, result, internal_dict):
 
     backtraceDepth = thread.GetNumFrames()
 
-    if len(command) == 1:
+    if len(command) > 0:
         try:
             backtraceDepth = int(command)
         except ValueError: