We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ef60ff commit d31dae6Copy full SHA for d31dae6
lldb/tools/lldb-dap/Handler/AttachRequestHandler.cpp
@@ -124,6 +124,8 @@ Error AttachRequestHandler::Run(const AttachRequestArguments &args) const {
124
attach_info.SetWaitForLaunch(args.waitFor, /*async=*/false);
125
dap.target.Attach(attach_info, error);
126
}
127
+ if (error.Fail())
128
+ return ToError(error);
129
130
131
// Make sure the process is attached and stopped.
0 commit comments