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
Make the Debug build debuggable #9744
Conversation
An addendum to gitextensions#9704. The .NET bootstrap created a .NET Framework entry point. This tricks the debugger, and it doesn't see the app as a .NET process, and, thus, unable to hit any breakpoints. To mitigate this, only apply the bootstrap to the Release configuration.
Can this be changed to allow tests in Debug too? |
Bugger! Let's pull the debug assert. If you can make a PR and merge -
that'd be great. I'll see if I can come up fix a better was to assert later.
|
Disabling privately for now, there must be a better way. |
An addendum to gitextensions#9744
|
||
// Under DotnetRuntimeBootstrapper this points to C:\Program Files\dotnet\dotnet.exe | ||
// whereas we need our executable | ||
private static string _applicationExecutablePath = Assembly.GetEntryAssembly().Location.Replace(".dll", ".exe"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: it's safer to use Path.ChangeExtension(...)
:)
An addendum to #9704.
Proposed changes
To mitigate this, only apply the bootstrap to the Release configuration.
Resolves [NBug] Could not find a part of the path 'C:\Program Files\dotnet\... #9743