XCode debugger not working on device (iPhone)

Posted on 2011-04-19
Last Modified: 2012-05-11
I have an app I am trying to debug... the app uses the camera.  Is it possible because the camera is being used, that the debugger will not honor breakpoints when debugging using the device? (iPhone 3GS)
Question by:rmmarsh
    LVL 10

    Accepted Solution

    Not really, it should work. Check that you're using debug build on device.

    Author Comment

    I'm using XC3, because XC4 is a real dog... that said, I have the device and debug set in the dropdown in the upper left corner of XC3... I do a normal build, using the "Build and Debug" icon at the top of the window... for some reason, it will not debug...   I also have these runtime errors, which I really don't understand... the app runs on the device, so with NSAlerts I can kludge it.:

    Error launching remote program: failed to get the task for process 144.
    Error launching remote program: failed to get the task for process 144.
    The program being debugged is not being run.
    The program being debugged is not being run.

    Open in new window

    LVL 10

    Expert Comment

    try to remove the application from iPhone and make a clean build. Last time I've seen this was on simulator and these steps did help

    Author Comment

    Hi Robert... been there, done that (many times)... I have several other "projects" in this app: SQLCipher, and Openssl, which may be causing the problem, although the authors say no...

    I guess I'll just learn to live with it...

    Thanks for your help, tho'

    Author Closing Comment

    Thanks again...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Preface   In the first 100 days of the Macintosh release in January 1984, Apple sold 72,000 of the computers. Relatively cheap, easy-to-use personal computer with a graphical operating system. I've never seen this model. I did see this one:   …
    CocoaPods is the best way to manage library dependencies in iOS and OS X projects. By using cocoa pods there is no need of downloading the code from github and copying to your project. There are plenty of open source libraries now available with C…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now