You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and let's assume we want to break on otherFunction. Let's try to use completion in LLDB:
(lldb) break set -n some2.Foo.ot<TAB>
yields
(lldb) break set -n some2.Foo.otherFunction(x: A, string: Swift.String) -> ()
which looks great! However pressing Enter:
(lldb) break set -n some2.Foo.otherFunction(x: A, string: Swift.String) -> ()
error: unknown or ambiguous option
Sad times. I thought maybe some quotes are missing:
(lldb) break set -n 'some2.Foo.otherFunction(x: A, string: Swift.String) -> ()'
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) break set -n "some2.Foo.otherFunction(x: A, string: Swift.String) -> ()"
Breakpoint 2: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
but no luck.
The text was updated successfully, but these errors were encountered:
some2.Foo.otherFunction(x: A, string: Swift.String) -> ()
Note T->A. The problem here is that the demangled name just knows this is generic slot 1, and in the absence of more information calls that "A". Then later on, when lldb reads in the debug info for this function, it figures out the user-typed name. But somehow in-between those two points there isn't a good fixed name to match against.
Additional Detail from JIRA
md5: 0663ec5bdfc7267ae76cc9e36be7f977
Issue Description:
Let's consider this program
and let's assume we want to break on
otherFunction
. Let's try to use completion in LLDB:yields
which looks great! However pressing Enter:
Sad times. I thought maybe some quotes are missing:
but no luck.
The text was updated successfully, but these errors were encountered: