-
Notifications
You must be signed in to change notification settings - Fork 24
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
[9.5] Cannot attach debugger to release build server #40
Comments
I remember this. I've been unable to reproduce it locally thus far. Attaching to a release server works when I try it. I'd need to know more details. |
My guess is that you have something in your development environment that fixes it. I know it can be hard to get a clean test environment for reproducing these kind of things ^^' To me, it seems like any DLL project that runs the server exe and tries to attach a debugger will fail, if it's a release build of the server and it has been packaged for release via your build script. A regular local release build does not trigger the issue so I'm guessing something that's required for debugging gets stripped when you run your build script. |
Same exact Issue here. On my Machine, this will occur every time, i try to attach.
The error seen in the image below is slightly different from @MonzUn, however i'am getting the exact same error he does, when launching the Server via debug Configuration: (launchSettings.json)
Version: 0.9.5.0-beta (https://play.eco/s3/release/EcoServerPC_v0.9.5.0-beta.zip) Hopefully we can fix this. |
Have you guys tried with 9.6 develop/staging with .net 6? |
I haven't, but I'll try it out when I start updating my mods for 9.6, probably in a week or two. |
I will retry in the next few days |
I tested it again: |
excellent, closing |
@redwyre This issue is back in the release version of 9.6. Can we reopen? |
Tested under 9.7.8, error still present. Quite bothersome, modding without debugging isnt very convenient. |
Tested in Eco 10 in a fresh environment. |
This is a modding specific bug/issue so I figured it should go here rather than the main EcoIssues tracker.
If you attempt to attach a debugger using Visual Studio to a server downloaded from Play.Eco, it gives the following error
This started happening with 9.4 (maybe 9.3?) and is quite an issue for anyone who doesn't have dev tier and therefore can't build a server that will accept a debugger.
Both me and Nid encountered this issue and I've had it reported by other modders trying to extend DiscordLink now as well.
The way we do our setups is to set the eco server exe file as the target file to run hitting
Run
in Visual Studio in our plugin library projects.The text was updated successfully, but these errors were encountered: