kaug-whis
kaug-whis
Addendum: I have just reproduced the exact same behavior on Arch (Manjaro).
> Out of curiosity, what's the value of your `/proc/sys/kernel/yama/ptrace_scope` ? Hello, `cat /proc/sys/kernel/yama/ptrace_scope` Gives `1`
> Set it to `0`. That would at least resolve the issue with attaching to a running process, and maybe some you have in launch mode. (https://www.kernel.org/doc/Documentation/security/Yama.txt. Btw, you can...
> The call to `hld_Debugger.resume` seems to end up into https://github.com/vshaxe/hashlink-debugger/blob/master/hldebug-wrapper/src/debug.c#L295. Yet another failing call to `ptrace`. If you try and attach a "standard" native debugger to the hashlink process,...
@yuxiaomao Thank you for your work on this! I confirm that breakpoints (including set at runtime), resuming, inspecting variables, capturing 'trace' output in the debug panel, and using the 'stop'...
@yuxiaomao I'm testing on Linux Mint 21.3 Virginia (upstream is Ubuntu 22.04), in this case, with ptrace 0. With a minimum project (just `while(true) Sys.sleep(0.1);`) the behavior is the same....
> In fact, I could also reproduce it on Ubuntu22 when I do not have a initial breakpoint. Fixed in [b3837f4](https://github.com/vshaxe/hashlink-debugger/commit/b3837f422405371f57d3749215507687b45fc809) Will be released in the next version, probably this...