I've been trying to investigate why things are slow with remote debugging, just to narrow it down a bit, is it normal that when debugging an empty iOS app (just a single page, nothing on it) it does 603 "$me" requests? Just to start?
full gdb transcript here:
Yes, after we initially attach, the dynamic loader needs to detect all shared libraries that are loaded. To do this, it walks some quick data structures, and then it creates mach-o files from memory, which means each shared library reads its load commands for all the segments. We need to do this so we can see where things are loaded, so we can tell the images on disk how they should be slid. There is really no way to avoid these reads.