From 5c8966c7406bd4c7edd40a033b1075a5da6d41cc Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 26 Apr 2016 22:34:00 -0400 Subject: [PATCH] Debugger: Fix crash regression. - During the TargetHostInterface refactoring, a parameter was accidentally omitted for the debugger options in the command line and report interfaces, leading to a crash during TeamDebugger init. --- src/apps/debugger/Debugger.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/debugger/Debugger.cpp b/src/apps/debugger/Debugger.cpp index ad0cecab7c..0570f37fe7 100644 --- a/src/apps/debugger/Debugger.cpp +++ b/src/apps/debugger/Debugger.cpp @@ -661,6 +661,7 @@ CliDebugger::Run(const Options& options) TeamDebuggerOptions debuggerOptions; set_debugger_options_from_options(debuggerOptions, options); debuggerOptions.userInterface = userInterface; + debuggerOptions.settingsManager = &settingsManager; error = hostInterface->StartTeamDebugger(debuggerOptions); if (error != B_OK) return false; @@ -725,6 +726,7 @@ ReportDebugger::Run(const Options& options) TeamDebuggerOptions debuggerOptions; set_debugger_options_from_options(debuggerOptions, options); debuggerOptions.userInterface = userInterface; + debuggerOptions.settingsManager = &settingsManager; error = hostInterface->StartTeamDebugger(debuggerOptions); if (error != B_OK) return false;