SOS Warning: Loading symbols for dynamic assemblies is not yet supported
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 404
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 35
Description
I haven't found any issue tracking this:
https://github.com/dotnet/diagnostics/blob/842c9603a97cf417814cf6c8d96e5c881025bf0e/src/SOS/Strike/symbols.cpp#L261-L263
so I thought of opening one. 🙂
This makes it impossible to debug msbuild tasks from nuget packages.
e.g. I was trying to root-cause what parameters are passed down to:
`bpmd /runtime/.dotnet/sdk/9.0.100-preview.5.24307.3/Sdks/NuGet.Build.Tasks.Pack/build/../CoreCLR/NuGet.Build.Tasks.Pack.dll NuGet.Common.PathResolver.PerformWildcardSearch`
which fails the publish on VirtioFS on mac (docker-mac recommended fileshare impl.; it does not fail when `gRPC FUSE` fileshare impl. is selected instead, which is many times slower than VirtioFS and takes forever to build runtime's default subsets in docker mounts..)
```sh
# funny exception that /runtime/src/installer/pkg/sfx/Microsoft.NETCore.App doesn't
# exist from project at /runtime/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Ref.sfxproj
System.IO.DirectoryNotFoundException: Could not find a part of the path '/runtime/src/installer/pkg/sfx/Microsoft.NETCore.App'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at System.IO.Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions)
at NuGet.Common.PathResolver.PerformWildcardSearch(String basePath, String searchPath, Boolean includeEmptyDirectories, String& normalizedBasePath)
at NuGet.Packaging.PackageBuilder.ResolveSearchPattern(String basePath, String searchPath, String targetPath, Boolean includeEmptyDirectories)
at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude)
at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files)
at NuGet.Commands.MSBuildProjectFactory.CreateBuilder(String basePath, NuGetVersion version, String suffix, Boolean buildIfNeeded, PackageBuilder builder)
at NuGet.Commands.PackCommandRunner.BuildFromProjectFile(String path)
at NuGet.Build.Tasks.Pack.PackTask.Execute() (TaskId:86)
Done executing task "PackTask" -- FAILED. (TaskId:86)
```
(eventually, I was able to figure it out the hard way https://github.com/NuGet/Home/issues/13572 😅)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.