[Lldb-commits] [lldb] 64b7d95 - [Reproducer] Improve reproducer help (NFC)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 18 14:46:25 PDT 2019


Author: Jonas Devlieghere
Date: 2019-10-18T21:47:31Z
New Revision: 64b7d95568607eac5336428a22e02f27b8663a79
    
URL: https://github.com/llvm/llvm-project/commit/64b7d95568607eac5336428a22e02f27b8663a79
DIFF: https://github.com/llvm/llvm-project/commit/64b7d95568607eac5336428a22e02f27b8663a79.diff
    
LOG: [Reproducer] Improve reproducer help (NFC)

Provide a little more detail for the reproducer command.

llvm-svn: 375292
    
Added: 
    
    
Modified: 
    lldb/source/Commands/CommandObjectReproducer.cpp
    
Removed: 
    
    
    
################################################################################
diff  --git a/lldb/source/Commands/CommandObjectReproducer.cpp b/lldb/source/Commands/CommandObjectReproducer.cpp
index 72afed902649..dc4579c20fc2 100644
--- a/lldb/source/Commands/CommandObjectReproducer.cpp
+++ b/lldb/source/Commands/CommandObjectReproducer.cpp
@@ -161,7 +161,9 @@ class CommandObjectReproducerDump : public CommandObjectParsed {
 public:
   CommandObjectReproducerDump(CommandInterpreter &interpreter)
       : CommandObjectParsed(interpreter, "reproducer dump",
-                            "Dump the information contained in a reproducer.",
+                            "Dump the information contained in a reproducer. "
+                            "If no reproducer is specified during replay, it "
+                            "dumps the content of the current reproducer.",
                             nullptr) {}
 
   ~CommandObjectReproducerDump() override = default;
@@ -361,7 +363,15 @@ CommandObjectReproducer::CommandObjectReproducer(
     CommandInterpreter &interpreter)
     : CommandObjectMultiword(
           interpreter, "reproducer",
-          "Commands for manipulate the reproducer functionality.",
+          "Commands for manipulating reproducers. Reproducers make it possible "
+          "to capture full debug sessions with all its dependencies. The "
+          "resulting reproducer is used to replay the debug session while "
+          "debugging the debugger.\n"
+          "Because reproducers need the whole the debug session from "
+          "beginning to end, you need to launch the debugger in capture or "
+          "replay mode, commonly though the command line driver.\n"
+          "Reproducers are unrelated record-replay debugging, as you cannot "
+          "interact with the debugger during replay.\n",
           "reproducer <subcommand> [<subcommand-options>]") {
   LoadSubCommand(
       "generate",

    
        


More information about the lldb-commits mailing list