================
@@ -87,8 +87,8 @@ Error AttachRequestHandler::Run(const AttachRequestArguments
&args) const {
// Use the unique target ID to get the target.
target = dap.debugger.FindTargetByGloballyUniqueID(*target_id);
if (!target.IsValid()) {
- error.SetErrorStringWithFormat("invalid target_id %lu in attach config",
- *target_id);
+ error.SetErrorStringWithFormat("invalid target_id %llu in attach config",
+ (unsigned long long)*target_id);
----------------
JDevlieghere wrote:
Let's use `SetErrorString` and llvm's `formatv`:
```suggestion
error.SetErrorString(llvm::formatv("invalid target_id {0} in attach
config", *target_id).str().c_str());
```
https://github.com/llvm/llvm-project/pull/169933
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits