Debuggers
gdb
gdb - GNU Debugger
b main
- puts breakpoint at the beginning of the programb
- puts breakpint at the current lineb N
- puts breakpoint at the line Nb +N
- puts breakpoint N lines down from the current lineb fN
- puts the breakpint at the beginning of the functionfN
d N
- deletes the breakpoint number Ninfo breaks
- list breakpointsr
- runs the program until a breakpint or errorc
- continues running the program until the next breakpoint is reachedf
- runs until the next function is finisheds
- runs the next line of programs N
- reuns next N lines of the programn
- likes
but does not step into functionsu N
- runs until you get N lines in the front of the current linep var
- prints the current value of the variablevar