CodePerspective
CodePerspective copied to clipboard
Feature: Record a session and play it back at any speed
I noticed while profiling one of my more complex applications that it can be difficult to comprehend the interactions before they die. It would be really helpful if the session could be recorded and then played back so that it can be analysed at slower speeds or even while paused.
I'm sure I'm not the first to think this. Of course, this is a complex feature.
That's something I can put on the feature list. The order of calls would have to be recorded for playback. The only issue is regenerating the call stack for any point in time. It could be rebuilt form the beginning, but that might be slow, might be a better way though.. key frames perhaps.
In the mean time there may be other ways to track what you're looking for. One is under the Elements section of the Display tab, the Executed button. This will only show blocks that have been run. Sometimes. if I'm tracking a button press, I'll click 'Reset Hit,' to clear previously executed blocks, and then click the button to see just what's been executed recently.
Also the threadlines view has a pause button, so if you're looking for the order in-which things are called, that might be helpful