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 3ba244c commit 118171fCopy full SHA for 118171f
lldb/tools/lldb-dap/Handler/AttachRequestHandler.cpp
@@ -87,8 +87,7 @@ Error AttachRequestHandler::Run(const AttachRequestArguments &args) const {
87
// Use the unique target ID to get the target.
88
target = dap.debugger.FindTargetByGloballyUniqueID(*target_id);
89
if (!target.IsValid()) {
90
- error.SetErrorStringWithFormat("invalid target_id %llu in attach config",
91
- (unsigned long long)*target_id);
+ error.SetErrorString(llvm::formatv("invalid target_id {0} in attach config", *target_id).str().c_str());
92
}
93
} else {
94
target = dap.CreateTarget(error);
0 commit comments