File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,6 @@ struct DAP {
192
192
std::mutex call_mutex;
193
193
std::map<int /* request_seq */ , ResponseCallback /* reply handler */ >
194
194
inflight_reverse_requests;
195
- StartDebuggingRequestHandler start_debugging_request_handler;
196
- ReplModeRequestHandler repl_mode_request_handler;
197
195
ReplMode repl_mode;
198
196
std::string command_escape_prefix = " `" ;
199
197
lldb::SBFormat frame_format;
Original file line number Diff line number Diff line change @@ -1627,12 +1627,12 @@ void request_initialize(const llvm::json::Object &request) {
1627
1627
" lldb-dap" , " Commands for managing lldb-dap." );
1628
1628
if (GetBoolean (arguments, " supportsStartDebuggingRequest" , false )) {
1629
1629
cmd.AddCommand (
1630
- " startDebugging" , &g_dap. start_debugging_request_handler ,
1630
+ " startDebugging" , new StartDebuggingRequestHandler () ,
1631
1631
" Sends a startDebugging request from the debug adapter to the client "
1632
1632
" to start a child debug session of the same type as the caller." );
1633
1633
}
1634
1634
cmd.AddCommand (
1635
- " repl-mode" , &g_dap. repl_mode_request_handler ,
1635
+ " repl-mode" , new ReplModeRequestHandler () ,
1636
1636
" Get or set the repl behavior of lldb-dap evaluation requests." );
1637
1637
1638
1638
g_dap.progress_event_thread = std::thread (ProgressEventThreadFunction);
You can’t perform that action at this time.
0 commit comments