JDevlieghere added inline comments.

================
Comment at: lldb/examples/python/crashlog.py:1198-1204
+        option_parser.add_option(
+            '--skip-status',
+            '-s',
+            dest='skip_status',
+            action='store_true',
+            help='prevent the interactive crashlog to dump the process status 
and thread backtrace at launch',
+            default=False)
----------------
Is there another way to detect that we're running in this kind of environment? 
For example, could we check if we're in an interactive lldb session? I imagine 
you'd like to have the same behavior as the IDE case if you imported the 
crashlog module in another Python file for example. One easy way to determine 
this is to check if `lldb.debugger` exists, but I'm not sure if that will cover 
the IDE case you're trying to solve. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131036/new/

https://reviews.llvm.org/D131036

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to