ProfDiesel
ProfDiesel
Out of curiosity, what's the value of your `/proc/sys/kernel/yama/ptrace_scope` ?
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 make...
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, such...
~~POC with asio. An abuse of template specialization on the `executor` and of `await_transform()` to emulate a "coroutine local storage". Far from satisfactory but seems to work. [https://github.com/ProfDiesel/leaf/commit/ec445ed75618211962998e8e04646c7fae9dccb3](https://github.com/ProfDiesel/leaf/commit/ec445ed75618211962998e8e04646c7fae9dccb3)~~ **Edit on...
No hurry. See the edit above. I'm still scratching my head wondering how this all can eventually be done.
I got some time to play a bit with leaf lately. https://github.com/ProfDiesel/leaf/commit/c43308400dc04b5f3f59514ae0e078dece316cec As proposed above, this version is using a ``shared_context`` in the ``awaitable_thread``, with a (quite intrusive) change in...