Skip to content

The exception does not point to the source file #105

Description

@qiaozhi-4

This is my environment version:
"frida-compile": "^19.0.4"
After I compiled and ran the script, an exception occurred.

TypeError: cannot read property 'getApplicationContext' of null
at getContext (/src/xxx/debug.js:23999)
at (/src/xxx/debug.js:23943)
at (/src/xxx/debug.js:12660)
at perform (/src/xxx/debug.js:23002)
at getVersionName (/src/xxx/debug.js:23947)
at (/src/xxx/debug.js:24053)
at (/src/xxx/debug.js:12660)
at _performPendingVmOps (/src/xxx/debug.js:23077)
at (/src/xxx/debug.js:23066)
at apply (native)
at handleMethodInvocation (/src/xxx/debug.js:22328)
at (/src/xxx/debug.js:22294)

I hope his exception message points to the pre-compiled file such as **.ts, rather than to the compiled js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions