[all-commits] [llvm/llvm-project] e74837: [lldb-dap] Correct attaching by program basename. ...
John Harrison via All-commits
all-commits at lists.llvm.org
Tue Mar 31 06:41:58 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e7483770c71dc502462fa717623b808161b47ad6
https://github.com/llvm/llvm-project/commit/e7483770c71dc502462fa717623b808161b47ad6
Author: John Harrison <harjohn at google.com>
Date: 2026-03-31 (Tue, 31 Mar 2026)
Changed paths:
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
M lldb/tools/lldb-dap/Handler/AttachRequestHandler.cpp
Log Message:
-----------
[lldb-dap] Correct attaching by program basename. (#188886)
Fixes an issue where attaching by program would fail if the program name
was a partial name (e.g. "foobar" instead of "/path/to/foobar").
We failed to create the target which caused the attach to fail. Now we
fallback to the dummy target and update to the real target after the
attach completes.
Here is an example launch configuration that fail:
```
{
"type": "lldb-dap",
"name": "Attach (wait)",
"request": "attach",
"program": "foobar",
"waitFor": true
},
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list