Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Swift breakpoints are only stopping the code #276

Closed
lucasmpaim opened this issue Oct 13, 2021 · 2 comments
Closed

Swift breakpoints are only stopping the code #276

lucasmpaim opened this issue Oct 13, 2021 · 2 comments

Comments

@lucasmpaim
Copy link

lucasmpaim commented Oct 13, 2021

In my project breakpoints can stop my code execution, but I can't see any variable value, everything says: error: cannot find '<variable>' in scope

Captura de Tela 2021-10-13 às 18 21 49

I have tried on AppDelegate, <Any>ViewController:viewDidLoad etc.

This happen's on both Simulator and real devices in M1 and Intel Macbook's.

My .bazelrc file:

build --genrule_strategy=standalone
build --spawn_strategy=standalone
build --verbose_failures
build --test_output=errors
build --strategy=SwiftCompile=standalone
build --apple_generate_dsym

Bazel Version: 4.2.1-homebrew
Tulsi Version: Commit ~63bab0db

Possible related issue: #15

@DavidGoldman
Copy link
Contributor

DavidGoldman commented Nov 11, 2021

Does removing --apple_generate_dsym help? You can try enabling some lldb logging to try to gain some idea of what is going on: log enable lldb types -f ~/Desktop/lldb-types.log (in lldb).

@keith
Copy link
Member

keith commented Feb 15, 2023

Thanks for submitting this issue but this tool is being deprecated. Please checkout rules_xcodeproj for a more complete and maintained Xcode integration.

@keith keith closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants