Skip to content

Question regarding syntax for Il2Cpp.trace() #289

Answered by vfsfitvnm
71256988 asked this question in Q&A
Discussion options

You must be logged in to vote

I apologize - I forgot to mention that one in the release notes!

After trace(), you must call parameters(true | false), where true means "print parameters, please" (equivalent to the old attach("full"):

import "frida-il2cpp-bridge";

Il2Cpp.perform(() => {
    Il2Cpp.trace()
        .parameters(true)
        .assemblies(Il2Cpp.domain.assembly("Assembly-CSharp"))
        .and()
        .attach();
});

I strongly suggest to use TypeScript w/ a language server (I personally use VSCode):

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@71256988
Comment options

Answer selected by 71256988
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants