From ab6cabf146640809756f0ae3641443f762332d45 Mon Sep 17 00:00:00 2001 From: YannDelorme Date: Tue, 19 Feb 2019 09:07:46 +0100 Subject: [PATCH] Fix TTD debug parameters --- src/node.cc | 2 +- src/node_options.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.cc b/src/node.cc index e3d6a1273c0..2f742a29ce8 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2219,7 +2219,7 @@ void ProcessArgv(std::vector* 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); diff --git a/src/node_options.cc b/src/node_options.cc index 634ea33fe5e..080caf274cc 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -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);