
Feb. 15, 2024
3:08 a.m.
It's not Friday, but I can't find any way of running the CPU performance profiler over a [TestMethod] in my unit test project. Web searches produce no useful results, some hint that I can right-click a test in the test explorer and pick Profile..., but I have no such menu. Is this possible or not? If so, what's the trick? P.S. I often use the profiler for commands or GUI apps, but in that case you set breakpoint #1 and start the profiler, then at breakpoint #2 you stop it and collect the results. That doesn't work for a unit test method (so far...). *Greg*