[Webinar] Learn how to a build a cloud-first strategyRegister Now


XCode debugger not working on device (iPhone)

Posted on 2011-04-19
Medium Priority
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
  • 3
  • 2
LVL 10

Accepted Solution

robertcerny earned 2000 total points
ID: 35428038
Not really, it should work. Check that you're using debug build on device.

Author Comment

ID: 35428171
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

ID: 35428200
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

ID: 35428308
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

ID: 35428313
Thanks again...

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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:   …
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

868 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