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

Debugging instructions incorrect #881

Closed
pettermahlen opened this issue Dec 13, 2022 · 0 comments · Fixed by #882
Closed

Debugging instructions incorrect #881

pettermahlen opened this issue Dec 13, 2022 · 0 comments · Fixed by #882

Comments

@pettermahlen
Copy link
Contributor

When I tried to follow the debugging instructions in the README, they didn't work - there was an error about not being able to find ```
bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/io_bazel_rules_kotlin/src/main/kotlin/build.runfiles/external/com_github_jetbrains_kotlin/lib/jvm-abi-gen.jar

This file isn't mentioned in the flagfile as described in step 6 of the current instructions. 

I was able to run the command I wanted to debug with the debug port by cd:ing into the execRoot (`bazel-MYPROJECT`), which also meant there was no need to edit the flagfile. I'm not sure if that's the correct solution, but I'll create a PR to update the instructions accordingly. 
pettermahlen added a commit to pettermahlen/rules_kotlin that referenced this issue Dec 13, 2022
pettermahlen added a commit to pettermahlen/rules_kotlin that referenced this issue Dec 13, 2022
Bencodes pushed a commit that referenced this issue Jan 4, 2023
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

Successfully merging a pull request may close this issue.

1 participant