================ @@ -1625,6 +1657,11 @@ void request_initialize(const llvm::json::Object &request) { "Get or set the repl behavior of lldb-dap evaluation requests."); g_dap.progress_event_thread = std::thread(ProgressEventThreadFunction); + // singleStoppedEvent option is not from formal DAP specification. It is an + // lldb specific option to experiment stopped events behaivor against + // application with multiple threads. + g_dap.single_stopped_event = + GetBoolean(arguments, "singleStoppedEvent", false); ---------------- clayborg wrote:
Can we add this key/value pair as a launch configuration instead of adding it from the IDE? Then we can document the feature in the package.json with lots of warning text. Also the name should be lldb specific to ensure we don't conflict with future VS code key/value pairs. Maybe add a "__lldbSingleStopEvent"? There is also a type script plug-in in the upstream LLDB where you can add the necessary setting to so if we leave this in the initialize packet, it can get sent down here https://github.com/llvm/llvm-project/pull/98568 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits