tulsi icon indicating copy to clipboard operation
tulsi copied to clipboard

Swift breakpoints are only stopping the code

Open lucasmpaim opened this issue 4 years ago • 1 comments

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

lucasmpaim avatar Oct 13 '21 21:10 lucasmpaim

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).

DavidGoldman avatar Nov 11 '21 14:11 DavidGoldman

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

keith avatar Feb 15 '23 17:02 keith