shakthi
shakthi

Reputation: 1647

How attach code to a running iphone app

I am trying to fix a random hang in my iphone app. I could not regenerate the hang from launching it from the xcode. Is their any way to attach xcode debugger, as soon as I detect the hang? (I can attach it to 'instruments') but it did not much help.

Upvotes: 3

Views: 755

Answers (1)

Jeff Kelley
Jeff Kelley

Reputation: 19071

No, you can't connect gdb to an already-running iPhone process. This may be possible if you jailbreak the phone.

Upvotes: 3

Related Questions