Skip to content

uninstrumented functions may be called #365

@apotterri

Description

@apotterri

If application code saves a reference to function when the code is imported, a call to that function won't generate any events in the recording.

For example, with this definition

def free_method():
    return "free method"

def Example:
    static_method = staticmethod(partial(free_method))

Example.static_method()

no events for the call to free_method will be recorded. This is because instrumentation of free_method happens after the module is loaded, and so after the call to partial(free_method)) has saved the reference to free_method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    navie-planPlan the issue with Navie

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions