[Lldb-commits] [lldb] [lldb-dap] Use structured types for stepInTargets request (PR #142439)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 3 07:36:43 PDT 2025


================
@@ -356,7 +356,21 @@ class StepInRequestHandler : public RequestHandler<protocol::StepInArguments,
   llvm::Error Run(const protocol::StepInArguments &args) const override;
 };
 
-class StepInTargetsRequestHandler : public LegacyRequestHandler {
+class StepInTargetsRequestHandler
+    : public RequestHandler<
+          protocol::StepInTargetsArguments,
+          llvm::Expected<protocol::StepInTargetsResponseBody>> {
+public:
+  using RequestHandler::RequestHandler;
+  static llvm::StringLiteral GetCommand() { return "stepInTargets"; }
+  FeatureSet GetSupportedFeatures() const override {
+    return {protocol::eAdapterFeatureStepInTargetsRequest};
----------------
da-viper wrote:

i updated it with the new dynamic capability

https://github.com/llvm/llvm-project/pull/142439


More information about the lldb-commits mailing list