Skip to content

Commit 64b7d95

Browse files
committed
[Reproducer] Improve reproducer help (NFC)
Provide a little more detail for the reproducer command. llvm-svn: 375292
1 parent e695f4c commit 64b7d95

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

lldb/source/Commands/CommandObjectReproducer.cpp

+12-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ class CommandObjectReproducerDump : public CommandObjectParsed {
161161
public:
162162
CommandObjectReproducerDump(CommandInterpreter &interpreter)
163163
: CommandObjectParsed(interpreter, "reproducer dump",
164-
"Dump the information contained in a reproducer.",
164+
"Dump the information contained in a reproducer. "
165+
"If no reproducer is specified during replay, it "
166+
"dumps the content of the current reproducer.",
165167
nullptr) {}
166168

167169
~CommandObjectReproducerDump() override = default;
@@ -361,7 +363,15 @@ CommandObjectReproducer::CommandObjectReproducer(
361363
CommandInterpreter &interpreter)
362364
: CommandObjectMultiword(
363365
interpreter, "reproducer",
364-
"Commands for manipulate the reproducer functionality.",
366+
"Commands for manipulating reproducers. Reproducers make it possible "
367+
"to capture full debug sessions with all its dependencies. The "
368+
"resulting reproducer is used to replay the debug session while "
369+
"debugging the debugger.\n"
370+
"Because reproducers need the whole the debug session from "
371+
"beginning to end, you need to launch the debugger in capture or "
372+
"replay mode, commonly though the command line driver.\n"
373+
"Reproducers are unrelated record-replay debugging, as you cannot "
374+
"interact with the debugger during replay.\n",
365375
"reproducer <subcommand> [<subcommand-options>]") {
366376
LoadSubCommand(
367377
"generate",

0 commit comments

Comments
 (0)