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 {
192192 std::mutex call_mutex;
193193 std::map<int /* request_seq */ , ResponseCallback /* reply handler */ >
194194 inflight_reverse_requests;
195- StartDebuggingRequestHandler start_debugging_request_handler;
196- ReplModeRequestHandler repl_mode_request_handler;
197195 ReplMode repl_mode;
198196 std::string command_escape_prefix = " `" ;
199197 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) {
16271627 " lldb-dap" , " Commands for managing lldb-dap." );
16281628 if (GetBoolean (arguments, " supportsStartDebuggingRequest" , false )) {
16291629 cmd.AddCommand (
1630- " startDebugging" , &g_dap. start_debugging_request_handler ,
1630+ " startDebugging" , new StartDebuggingRequestHandler () ,
16311631 " Sends a startDebugging request from the debug adapter to the client "
16321632 " to start a child debug session of the same type as the caller." );
16331633 }
16341634 cmd.AddCommand (
1635- " repl-mode" , &g_dap. repl_mode_request_handler ,
1635+ " repl-mode" , new ReplModeRequestHandler () ,
16361636 " Get or set the repl behavior of lldb-dap evaluation requests." );
16371637
16381638 g_dap.progress_event_thread = std::thread (ProgressEventThreadFunction);
You can’t perform that action at this time.
0 commit comments