Filtering out certain methods by name from trace #458
-
Like there are update methods which constantly spam the trace calls, how can we filter out methods using their names or method object so that those particular methods are excluded from being traced |
Beta Was this translation helpful? Give feedback.
Answered by
RevealedSoulEven
Dec 31, 2023
Replies: 1 comment
-
const excludedMethodNames = ["OnStartGame","OnUpdate","Awake"]; // @ts-ignore Il2Cpp.trace(true) .classes(classobject) .filterMethods(method => { return !excludedMethodNames.some(keyword => method.name.includes(keyword)); }) .and() .attach(); To those who'll require it in future. Please give a like😊 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RevealedSoulEven
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To those who'll require it in future. Please give a like😊