Any way to trigger bookmarks from code?
TheZMan
Posts: 9
I'm trying to profile a game and I would love to get a bookmark for specific part of the code. Even per frame would be awesome.
In memory profiler there's a trigger API but I can't find anything in performance profiler - is there anything?
Thanks
In memory profiler there's a trigger API but I can't find anything in performance profiler - is there anything?
Thanks
Comments
RedGate.Profiler.UserEvents.ProfilerEvent.SignalEvent("A message");
You can use that to see when a particular line of code ran. This is described at the bottom of http://documentation.red-gate.com/display/APP8/Working+with+the+timeline#.
Unfortunately this doesn't let you bookmark regions at this time, though we're considering adding that capability in the future.