关于iOS多线程的问题


#1

需求: 想找到线程是在哪里开启的,并查看传进的参数,根据查阅,应该是gcd,但是编写gcd的例子测试,没有符合以下的thread backtrace,想问问还有什么办法
**代码: * thread #20, name = ‘VIOEngineNode.thread’, queue = ‘VIOEngineNode’, stop reason = breakpoint 2.1

  • frame #0: 0x000000019bc2ea54 AppleCV3DCV3DVIOIsDeviceSupported + 13660 frame #1: 0x00000001813e6b7c libdispatch.dylib_dispatch_block_async_invoke2 + 116
    frame #2: 0x00000001813d9048 libdispatch.dylib_dispatch_client_callout + 16 frame #3: 0x00000001813e2f84 libdispatch.dylib_dispatch_queue_serial_drain$VARIANT$mp + 844
    frame #4: 0x00000001813e37d8 libdispatch.dylib_dispatch_queue_invoke$VARIANT$mp + 340 frame #5: 0x00000001813e61c8 libdispatch.dylib_dispatch_root_queue_drain + 596
    frame #6: 0x00000001813e7668 libdispatch.dylib_dispatch_worker_thread + 188 frame #7: 0x000000018168031c libsystem_pthread.dylib_pthread_body + 308
    frame #8: 0x00000001816801e8 libsystem_pthread.dylib_pthread_start + 312 frame #9: 0x000000018167ec28 libsystem_pthread.dylibthread_start + 4