kinolee
kinolee

Reputation: 53

How to debug iOS 9 extensions

Is there a way I can debug my networkextension (NEPacketTunnelProvider)? .

I use NSLog but not use for extension (only for container app). I found system log in window -> devices, but only have crash logs.

so I can only debug by breakpoint(debug -> attach) . but it's really really annoying me for a long time. Can I view log (NSLog) in somewhere?

Upvotes: 0

Views: 695

Answers (1)

Dinesh
Dinesh

Reputation: 939

You can.. First Start Your container App. Switch to Your Extension App in xCode. Go To Debug and choose attach to process.. Put the breakpoints to debug than

Upvotes: 0

Related Questions