Debugging target c step by step

is there a way to see step-by-step debugging of the code in the C object as we do in Turbo C with the keyboard key "F7 / F8". to view line by line?

+2


source to share


1 answer


Sure. If you are using Xcode (ala 99.99999% of Objective C users), just set a breakpoint, and on hit, run GDB with either normal step-by-step commands or the little interface toolbar that appears at the top of the source window.



For keyboard shortcuts, this manual has a Run section.

+3


source







All Articles