6
1
2015
0

LINUX

个人的自娱自乐~

ctrl+alt+t(cmd)

cd ~/xxx

g++ -g x.cpp(F9)

g++ -g x.cpp -o x(F9+生成)

./x(运行)

gdb x

{

n(F7)

b x(第X行设置断点)

c(跳断点)

clear x(删除第X行断点)

q(终止)

r(run)

p(设置零时变量)

disp(设置永久变量)

}

Category: Others | Tags: others gdb | Read Count: 616

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com