在clion中,新建gdb remote debug,如下:. 一定要选bundled版本的GDB。 启动子进程,然后通过gdbserver attach到子进程。gdbserver :34567 --attach $( ...
確定! 回上一頁