Xcode 6.3: XCode should auto attach to parent process when running WatchKit target

Originator:jessica.l4m
Number:rdar://20591980 Date Originated:17-Apr-2015 01:11 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.3 (6D570)
Classification:Enhancement Reproducible:Always
 
Summary:
While developing the watch app, I have to manually attach to the parent process because when the parent crashes the watch target have little useful information on where the crash occurs.  However, if the parent target is attached the break on all exception breakpoint helps me debug problematic code paths.  The current workaround is to put a break point very early on the watch target, then go to debug -> attach to process -> attach to the parent process.  It would be great if Xcode does that automatically.

Steps to Reproduce:
1. Run watch app target from Xcode.
2. Parent app crashes, watch target is still running

Expected Results:
Xcode attach to both the watch target and the parent process automatically, when the parent app crashes, exception breakpoints will catches it.


Actual Results:
Have to manually attach to parent app’s process.

Notes:
The current workaround is to put a break point very early on the watch target, then go to debug -> attach to process -> attach to the parent process.  It would be great if Xcode does that automatically.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!