Debugging Line by Line
The Variable Pane
Fixing a Running Program
In Chapter 2, “Simple Workflow and Passive Debugging,” we got the
Linrg command-line tool to build without errors and used the Xcode debugger passively to track down and eliminate an early crashing bug. Let’s run our tool again and see how it goes.
Make sure that the project is built, and then select Debug from the Run menu. Select Console from the Run menu so that we can interact with
Linrg. Type some data:
1.0 2.05 nan nan nan
Well, after we enter two numbers and press Return,
Linrg does not crash. It just prints
nan nan nan and quits. The status bar in the Debugger and Project ...