Open
Description
Swift version
Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
Platform
macOS 15.4.1 (24E263)
Editor
Visual Studio Code
Description
Because background indexing jumps to code in a separate folder (ie .build/index-build
) from the code actually being used to build your package. If you set a break point in that code it is never hit.
Steps to Reproduce
- Load project with dependencies
- Right click on function that is defined in one your dependencies and select
Go to definition
. - Add break point in that function
- Run in debugger
- Break point is never hit
Logging
No response