-
gdb as root in eclipse IDE
- Enable your user to run gdb as root without beeing asked for any password:
sudo visudo
Add the following line after all other rules:
<youruser> ALL=(root) NOPASSWD:/usr/bin/gdb
- Create or modify a debug configuration in eclipse to run gdb as root
e.g. in Run > Debug Configurations > C/C++ Application > YourProject Debug:
change Debugger > Main > GDB debugger from gdb
to sudo gdb
-
相关阅读:
MyBatis
JavaAgent
Intellij IDEA
SVN安装总结
git(笔记)
springboot面试题
spring总结
springmvc总结
jdbc链接数据库
redis面试题
-
原文地址:https://www.cnblogs.com/bigben0123/p/2981941.html
Copyright © 2020-2023
润新知