Open EgorBo opened 14 hours ago
ultra profile --pid $(Get-Process -Name ConsoleApp10).Id
hm... but isn't BenchmarkDotNet launching another process actually to run the actual benchmarks?
I have thought about maybe adding something like attach child process
... and this could fit into this use case.
hm... but isn't BenchmarkDotNet launching another process actually to run the actual benchmarks?
not with -i
parameter (stands for InProcessToolchain)
not with -i parameter (stands for InProcessToolchain)
Hm, interesting. Have you ever tried with perfview
similarly?
I will double check locally what is happening, but I'm not doing anything particular for the symbol resolution, so BenchmarkDotNet might still interfere in some ways...
So I just tried your exact steps above and I got it working, so it might be something else...
I've integrated ultra into my bot here https://github.com/EgorBot/runtime-utils/issues/173 🙂 but it seems like it's not picking up symbols when it's attached to an already running app via
--pid
(it works when it itself starts the app).Repro:
which I then build & run as
and in a separate window:
I tried to use
dotnet-symbol --symbols
and<DebugType>
with no luck