We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Repro:
consoleapp-10efc6c.zip
Download, extract and run make linked to run the linked sample, and make notlinked to run the non-linked sample.
make linked
make notlinked
Expected result: a stack trace with file name and line number information should be shown.
$ make notlinked /usr/local/share/dotnet/sdk/5.0.100-preview.7.20317.11/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/usr/local/share/dotnet/sdk/5.0.100-preview.7.20317.11/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/usr/local/share/dotnet/sdk/5.0.100-preview.7.20317.11/dotnet.dll -maxcpucount -property:RuntimeIdentifier=osx-x64 -property:SelfContained=true -p:MonoAOT=true -p:VM=mono -p:PublishTrimmed=false -restore -target:Publish -verbosity:m /v:quiet /bl:consoleapp-notlinked.binlog ./myproject.csproj ** Executing app as-is bin/Debug/netcoreapp5.0/osx-x64/publish/myproject at System.Environment.get_StackTrace() at App.Main() in /Users/rolf/test/dotnet/consoleapp/Program.cs:line 7 $ make linked /usr/local/share/dotnet/sdk/5.0.100-preview.7.20317.11/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/usr/local/share/dotnet/sdk/5.0.100-preview.7.20317.11/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/usr/local/share/dotnet/sdk/5.0.100-preview.7.20317.11/dotnet.dll -maxcpucount -property:RuntimeIdentifier=osx-x64 -property:SelfContained=true -p:MonoAOT=true -p:VM=mono -p:PublishTrimmed=true -p:_ExtraTrimmerArgs=-b -restore -target:Publish -verbosity:m /v:quiet /bl:consoleapp-linked.binlog ./myproject.csproj ** Executing app as-is bin/Debug/netcoreapp5.0/osx-x64/publish/myproject at System.Environment.get_StackTrace() at App.Main() ** Copying in the linked pdb cp ./obj/Debug/netcoreapp5.0/osx-x64/linked/myproject.pdb ./bin/Debug/netcoreapp5.0/osx-x64/publish bin/Debug/netcoreapp5.0/osx-x64/publish/myproject at System.Environment.get_StackTrace() at App.Main() in /Users/rolf/test/dotnet/consoleapp/Program.cs:line 7
The non-linked sample works (shows Program.cs:7), but the linked sample only works after copying the linked pdb into the publish directory.
The text was updated successfully, but these errors were encountered:
@sbomer is this something what was fixed in the debugger SDK changes?
Sorry, something went wrong.
Yes, this should be fixed with dotnet/sdk#12144. The latest bits from dotnet/installer have the change - would you mind giving it a try @rolfbjarne?
would you mind giving it a try @rolfbjarne?
Correct, this seems to be working now.
No branches or pull requests
Repro:
consoleapp-10efc6c.zip
Download, extract and run
make linked
to run the linked sample, andmake notlinked
to run the non-linked sample.Expected result: a stack trace with file name and line number information should be shown.
The non-linked sample works (shows Program.cs:7), but the linked sample only works after copying the linked pdb into the publish directory.
The text was updated successfully, but these errors were encountered: