Step 1: In the application project, set the library path in the xcode Preferences...
Step 2: Add the static library project file into the application by "Add Files to..." by right clicking on the project panel.
Step 3: Select the added library project in the project panel, and bind the new added the library project with the library source path created in Step1.
Then you can set the breakpoints in your static library source file, run and debug your application, the code would be stop at the break point you set when executing to it.