Skip to content

Doesn't work on OSX #242

Description

@barskykd

Started python interpreter

>>> import sys
>>> sys.version
'3.7.7 (v3.7.7:d7c567b08f, Mar 10 2020, 02:56:16) \n[Clang 6.0 (clang-600.0.57)]'
>>> sys.executable
'/Library/Frameworks/Python.framework/Versions/3.7/bin/python3'
>>> import os
>>> os.getpid()
62993

Trying to attach profiler

Mac-mini:~ konstantin$ sudo py-spy dump --pid 62993
Error: Failed to open process - check if it is running.
Reason: Undefined error: 0 (os error 0)

Mac-mini:~ konstantin$ sudo py-spy record -o test.svg --pid 62993
Error: Failed to open process - check if it is running.
Reason: Operation timed out (os error 60)

Mac-mini:~ konstantin$ py-spy -V
py-spy 0.3.3

OSX version: 10.15.3 (19D76)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions