skip to main
|
skip to sidebar
X8B
Friday, February 13, 2009
GDB, first use
Thanks to humph.
Find the process id you're looking for:
ps aux | grep appname
Now we have the Process ID, and the path to the app.
gdb
/path/to/your/app -p pidForApp
Press enter alot. The app is now frozen. Type c then press enter to continue. Hit CTRL+C to lock it again.
b somefile.
cpp:567 to set a break point.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2010
(1)
►
August
(1)
▼
2009
(3)
►
August
(1)
▼
February
(1)
GDB, first use
►
January
(1)
About Me
Mead
View my complete profile
No comments:
Post a Comment