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

Issue 3555 illegal character trying to debug gotest #6938

Conversation

iliakondratev
Copy link
Contributor

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: #3555

Description of this change

This pull request addresses two issues that currently prevent debugging of both test and binary targets in GoLand with the Bazel plugin on Windows.

Platform-specific shell script parsing: The Bazel-generated execution shell script was not correctly parsed on Windows due to platform-specific differences.
Fix: Updated the regexes for compatibility with Windows.

Handling of RUNFILES_MANIFEST_ONLY flag: On Windows, Bazel sets RUNFILES_MANIFEST_ONLY flag to use path mapping from a manifest file instead of symlinks, which the plugin does not support.
Fix: Added logic to check for RUNFILES_MANIFEST_ONLY and display a popup asking to allow symlink support in .bazelrc to align with Bazel’s Windows setup.

@github-actions github-actions bot added product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Oct 29, 2024
Copy link
Collaborator

@tpasternak tpasternak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thank you @iliakondratev!

@tpasternak tpasternak merged commit 8036598 into bazelbuild:master Oct 30, 2024
6 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: GoLand GoLand plugin
Projects
Development

Successfully merging this pull request may close these issues.

2 participants