New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt/Debugger Code widget: Record and find specific functions by differencing #7679

Open
wants to merge 1 commit into
base: master
from

Conversation

1 participant
@TryTwo
Copy link
Contributor

TryTwo commented Jan 5, 2019

Adds a button to the code widget to open the differencing window.
Uses the profiler to record the functions that run, then the user adds the recording to an exclude or include list. The include list has the excludes subtracted from them, then gets displayed. The lists are symbol-based to avoid capturing a function multiple times. Allows finding specific functions based on when they run.

For example, recording the player standing still then pressing exclude, followed by moving around then pressing include, will find functions related to movement and movement animations. Specifically looking for an action or event can often yield a small amount of functions being returned, which is quite useful

.The profiler is sort of hijacked for this. Building a specific routine for recording the functions might increase efficiency, but I'm not sure how to.

Debugger Code widget: Add Diff button. Diff window for recording and …
…differencing functions. Allows finding specific functions based on when they run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment