NativeAOT disassembly
Author: MichalPetrykaCreated Aug 2, 2022Updated Sep 17, 2026
Labelsup-for-grabsArea:Diagnosershelp wanted
BenchmarkDotNet 0.13.1.1835 from the nightlies currently errors out when DisassemblyDiagnoser is used with a NativeAOT job with this exception:
Failed to disassemble with following exception:
Sequence contains no elements.
in System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
in BenchmarkDotNet.Disassemblers.ClrMdV1Disassembler.AttachAndDisassemble(Settings settings)
in BenchmarkDotNet.Disassemblers.Program.Main(String[] args)BDN should at least provide a message saying that NativeAOT disassembly is not supported, or properly support it.
Source: dotnet/BenchmarkDotNet