I isolated it finally to a very very old (mid-1990s) csh-backed shell utility that was being used to add PATH components.
I replaced its functionality with ZSH's built-in way to do this, and everything seems to be working as it should be.
It's not completely clear what exactly was breaking the LLDB invocation by Xcode, but I am fine with modified way.
put at end of path
path+=/new/path
put at front of path
path=(/first/path $path)
Topic:
Programming Languages
SubTopic:
Swift
Tags: