I'm trying to profile the performance of a class in an .NET application. I have JetBrains dotTrace 2024.1, which can profile: Sampling, Timeline, Tracing and Line-by-Line.
I want to start and end a line-by-line profiling programmatically from within the application using the API.
However the documentation doesn't say how to configure the profiling to line-by-line. Does anyone know how to do this?