Skip to content

Add riscv64 support for pydevd_attach_to_process #324

@yorange1

Description

@yorange1

I'm using viztracer on a riscv64 machine (Ubuntu, Python 3.12). viztracer uses pydevd_attach_to_process binaries for its --attach feature. When attempting to attach to a running process, it falls back to the amd64 binary and fails:

Using .../attach_process/attach_linux_amd64.so in arch: riscv64.
Failed to inject code [err 127]

Request
Could you add riscv64 support for pydevd_attach_to_process?riscv64 is increasingly common in AI/edge computing hardware, and having attach support would greatly improve the debugging and profiling experience on these devices.

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