| Paulo da Silva <p_d_a_s_i_l_v_a_ns@nonetnoaddress.pt>: Jul 21 06:31PM +0100 Às 02:33 de 20/07/21, Paulo da Silva escreveu: > Error message from debugger back end: > ptrace: Operação não permitida. (Tr. from pt: Operation not > allowed/permited) Ok, to fix this: Change in /etc/sysctl.d/10-ptrace.conf kernel.yama.ptrace_scope = 1 to kernel.yama.ptrace_scope = 0 Besides, one needs to put, for example, getchar(); at the beginning of the program for it to wait the debugger attach. Then just hit enter and the debugging should proceed normally. A very weird solution, however!! Regards |
| You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment