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 741c80c commit a2a4077Copy full SHA for a2a4077
lldb/tools/lldb-dap/Handler/AttachRequestHandler.cpp
@@ -87,8 +87,10 @@ 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)
92
+ .str()
93
+ .c_str());
94
}
95
} else {
96
target = dap.CreateTarget(error);
0 commit comments