Skip to content

ptrace: Operation not permitted #3

@peter-lyons-kehl

Description

@peter-lyons-kehl

On the current Manjaro (Arch) Linux 5.13.1-3-MANJARO #1 SMP PREEMPT x64, VS Code Insiders (like Beta), current Dbgee VS Code extension 0.2.1, dbgee-linux-x64 binary 0.3.0 from https://github.com/nullpo-head/dbgee/releases. I have a simple pure-Rust (and static binary) project with current rustc 1.55.0-nightly (32c9b7b09 2021-07-21).

In VS Code > terminal I run cargo build, which is successful. Then I run it with my debug binary:

~/GIT/dbgee-linux-x64-0.3.0/dbgee run -- ./target/debug/rust-dbg
...
None No process In:                                                                                                                 GNU gdb (GDB) 10.2
--Type <RET> for more, q to quit, c to continue without paging--

Then after pressing Enter twice, it failed:

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 70996
ptrace: Operation not permitted.

Please advise.

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