xcode - Can I debug code in the parent iOS App when it is awoken by a WatchKit App/Extension? -


i want debug code in application:handlewatchkitextensionrequest:reply: method of appdelegate.

if debug watchkit app when launches ios app call method, debugger not attached. there way debugger attach ios app when launched watchkit opposed xcode run/debug command?

yup.

run watchkit application via xcode, manually launch associated ios application on simulator.

once it's launched, use debug menu in xcode attach process…. you'll see ios application running there.

attach process

you'll have 2 active debug sessions accessible in debug navigator (⌘+6). can switch between them there.

debug navigator


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -