File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -1516,17 +1516,13 @@ void request_modules(const llvm::json::Object &request) {
15161516// }]
15171517// }
15181518void request_initialize (const llvm::json::Object &request) {
1519- auto log_cb = [](const char *buf, void *baton) -> void {
1520- g_dap.SendOutput (OutputType::Console, llvm::StringRef{buf});
1521- };
1522-
15231519 auto arguments = request.getObject (" arguments" );
15241520 // sourceInitFile option is not from formal DAP specification. It is only
15251521 // used by unit tests to prevent sourcing .lldbinit files from environment
15261522 // which may affect the outcome of tests.
15271523 bool source_init_file = GetBoolean (arguments, " sourceInitFile" , true );
15281524
1529- g_dap.debugger = lldb::SBDebugger::Create (source_init_file, log_cb, nullptr );
1525+ g_dap.debugger = lldb::SBDebugger::Create (source_init_file);
15301526 auto cmd = g_dap.debugger .GetCommandInterpreter ().AddMultiwordCommand (
15311527 " lldb-dap" , " Commands for managing lldb-dap." );
15321528 if (GetBoolean (arguments, " supportsStartDebuggingRequest" , false )) {
You can’t perform that action at this time.
0 commit comments