Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GDB is a debugger, cool and good
- add the -g flag in the makefile BEFORE the -o flag
- gdb filename
- use list functionname to print that shit out
- use break functionname to add breakpoints to go through step by step
- use print varname to print out variables and shit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement