|
13 | 13 | #include "RunInTerminal.h"
|
14 | 14 | #include "Watchpoint.h"
|
15 | 15 | #include "lldb/API/SBDeclaration.h"
|
| 16 | +#include "lldb/API/SBEvent.h" |
16 | 17 | #include "lldb/API/SBInstruction.h"
|
17 | 18 | #include "lldb/API/SBListener.h"
|
18 | 19 | #include "lldb/API/SBMemoryRegionInfo.h"
|
19 | 20 | #include "lldb/API/SBStream.h"
|
20 |
| -#include "lldb/API/SBEvent.h" |
21 | 21 | #include "lldb/API/SBStringList.h"
|
22 | 22 | #include "lldb/Host/Config.h"
|
23 | 23 | #include "llvm/ADT/ArrayRef.h"
|
@@ -1881,8 +1881,10 @@ void request_initialize(DAP &dap, const llvm::json::Object &request) {
|
1881 | 1881 | // Do not source init files until in/out/err are configured.
|
1882 | 1882 | dap.debugger = lldb::SBDebugger::Create(false);
|
1883 | 1883 | dap.debugger.SetInputFile(dap.in);
|
1884 |
| - dap.debugger.SetOutputFile(lldb::SBFile(dap.pout.GetWriteFileDescriptor(), "w", false)); |
1885 |
| - dap.debugger.SetErrorFile(lldb::SBFile(dap.perr.GetWriteFileDescriptor(), "w", false)); |
| 1884 | + dap.debugger.SetOutputFile( |
| 1885 | + lldb::SBFile(dap.pout.GetWriteFileDescriptor(), "w", false)); |
| 1886 | + dap.debugger.SetErrorFile( |
| 1887 | + lldb::SBFile(dap.perr.GetWriteFileDescriptor(), "w", false)); |
1886 | 1888 |
|
1887 | 1889 | auto interp = dap.debugger.GetCommandInterpreter();
|
1888 | 1890 |
|
|
0 commit comments