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.
This commit is contained in:
parent
bac2e686dc
commit
5c8966c740
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user