- In- On Linux recent kernels only allow attaching of processes
to a debugger, if
* the right to attach to processes is enabled system-wide
** or the debugger is a child proe grants access of the debuggeeby a call to
* or the debuggee grants access by a call to `prctl(PR_SET_PTRACER, debugger_pid, 0, 0, 0);`
prctl(PR_SET_PTRACER,- DrKonqi will ask the debugger_pid, 0, 0, 0);
- DrKonqi cannot do this directly,e by a socket connection to
set a new ptracer. so it will ask theThis is required if an external debugger
debuggee to do so by a socket connectionis started (using the usually hidden Debug button).
- When the debugger has finished, the access is requested back
to DrKonqi to allow internal backtraces again.