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

Random title of exe file causes problems to windows firewall #3494

Open
matwachich opened this issue Sep 5, 2023 · 0 comments
Open

Random title of exe file causes problems to windows firewall #3494

matwachich opened this issue Sep 5, 2023 · 0 comments

Comments

@matwachich
Copy link

  1. What version of Delve are you using (dlv version)? 1.21.0
  2. What version of Go are you using? (go version)? 1.20.7
  3. What operating system and processor architecture are you using? Windows 10 x64
  4. What did you do?
  5. What did you expect to see?
  6. What did you see instead?

In a recent release, delve temporary exe file became random (__debug_binXXXXX.exe where X are random numbers).

This causes problem with windows firewall because each new debug session creates a rule in windows firewall.
image

A nice behaviour IMO is that delve first checks if there is already a file __debug_bin.exe, if no, then compile normally to __debug_bin.exe, if it exists, add an incremental value to file name.

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

No branches or pull requests

2 participants