Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2219,7 +2219,7 @@ void ProcessArgv(std::vector<std::string>* args,
s_doTTReplay = true;
s_doTTEnableDebug = true;
s_ttoptReplayUri = per_process_opts->ttdReplayDebugUri.c_str();
s_ttoptReplayUriLength = per_process_opts->ttdReplayUri.length();
s_ttoptReplayUriLength = per_process_opts->ttdReplayDebugUri.length();
}
if (per_process_opts->ttdBreakFirst) {
s_ttdStartupMode = (0x100 | 0x1);
Expand Down
2 changes: 1 addition & 1 deletion src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ void PerProcessOptionsParser::Initialize() {
&PerProcessOptions::ttdReplayUri);
AddOption("--replay-debug",
"replay and debug using recording log",
&PerProcessOptions::ttdReplayUri);
&PerProcessOptions::ttdReplayDebugUri);
AddOption("--break-first",
"break at first statement when running in --replay-debug mode",
&PerProcessOptions::ttdBreakFirst);
Expand Down