[Lldb-commits] [lldb] [LLDB] Fix KDP plugin path (PR #180897)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 11 00:24:54 PST 2026
Michael137 wrote:
Yea can confirm this is where it was tripping up locally:
```
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
frame #0: 0x0000000132e90d94 liblldb.23.0.0git.dylib`VerifyPath(this=0x0000000a7f26ee58) at OptionValueProperties.cpp:526:10
516 if (!parent_properties)
517 return false;
518
519 auto [prefix, expected_name] = llvm::StringRef(m_expected_path).rsplit('.');
520
521 if (expected_name.empty()) {
522 // There is no dot, so the parent should be the top-level (core properties).
523 return parent_properties->m_expected_path.empty() && GetName() == prefix;
524 }
525
-> 526 return parent_properties->m_expected_path == prefix &&
527 GetName() == expected_name;
528 }
Target 0: (lldb) stopped.
(lldb) p parent_properties->m_expected_path
(std::string) "plugin.process"
(lldb) p prefix
(llvm::StringRef &&) 0x000000016fdfd330 "plugin.process"
(lldb) p GetName()
(llvm::StringRef) "kdp-remote"
(lldb) p expected_name
(llvm::StringRef &&) 0x000000016fdfd340 "kdp"
```
https://github.com/llvm/llvm-project/pull/180897
More information about the lldb-commits
mailing list