Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add breakpoint when “Build Target with Starlark Debugger” #349

Open
oscarthecat opened this issue Feb 28, 2024 · 2 comments
Open

Comments

@oscarthecat
Copy link

oscarthecat commented Feb 28, 2024

i can't click on left side of BUILD.bazel file(current project) or .bzl file(source file in external dir) to add a breakpoint (red point) in vscode.

Build Target with Starlark Debugger runs ok, it just no stop because no breakpoints.

my vscode version 1.86.2
bazel plugin version 0.9.0
macos version 14.3.1 (23D60)
bazel 6.2.1

how can i add breakpoint? thanks

@oscarthecat oscarthecat changed the title How to add breakpoint when How to add breakpoint when “Build Target with Starlark debugger” Feb 28, 2024
@oscarthecat oscarthecat changed the title How to add breakpoint when “Build Target with Starlark debugger” How to add breakpoint when “Build Target with Starlark Debugger” Feb 28, 2024
@cameron-martin
Copy link
Collaborator

Adding breakpoints works okay for me, although I am running Linux and don't have access to a Mac machine. Do you have a reproducer for this?

@Strum355
Copy link

Breakpoints dont appear to work in macros, from some quick experimentation it appears to only work inside rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants