-
公开(公告)号:US20150347271A1
公开(公告)日:2015-12-03
申请号:US14292777
申请日:2014-05-30
Applicant: Apple Inc.
Inventor: David Vernon Payne , Daniel Andreas Steffen , Han Ming Ong , Jason Molenda , Kenneth Scott Orr , Katherine Blake Stone
IPC: G06F11/36
CPC classification number: G06F11/3636
Abstract: When queuing work items for asynchronous execution, the approaches set forth herein enable a debugger to provide more meaningful and complete stack trace information for enqueued work items. An example system identifies a work item to be enqueued for asynchronous execution as a separate thread during runtime of a program. Upon enqueuing the work item in an execution queue, the system captures pre-queue stack trace information associated with the work item, and associates the pre-queue stack trace information with the work item. The system removes the work item from the execution queue for execution, wherein the execution is associated with current stack trace information separate from the pre-queue stack trace information. Upon detecting an event associated with executing the work item, the system merges the pre-queue stack trace information with the current stack trace information to yield a merged stack trace.
Abstract translation: 当对用于异步执行的工作项进行排队时,本文阐述的方法使调试器能够为排队的工作项提供更有意义和完整的堆栈跟踪信息。 示例系统在程序运行期间将要排入队列的工作项标识为异步执行,作为单独的线程。 在执行队列中排队工作项后,系统将捕获与工作项相关联的预排队堆栈跟踪信息,并将队列前跟踪信息与工作项相关联。 系统从执行队列中删除工作项以供执行,其中执行与当前堆栈跟踪信息相关联,该信息与预排队堆栈跟踪信息分开。 在检测到与执行工作项相关联的事件时,系统将预先队列堆栈跟踪信息与当前堆栈跟踪信息进行合并,以产生合并堆栈跟踪。
-
公开(公告)号:US09378117B2
公开(公告)日:2016-06-28
申请号:US14292777
申请日:2014-05-30
Applicant: Apple Inc.
Inventor: David Vernon Payne , Daniel Andreas Steffen , Han Ming Ong , Jason Molenda , Kenneth Scott Orr , Katherine Blake Stone
CPC classification number: G06F11/3636
Abstract: When queuing work items for asynchronous execution, the approaches set forth herein enable a debugger to provide more meaningful and complete stack trace information for enqueued work items. An example system identifies a work item to be enqueued for asynchronous execution as a separate thread during runtime of a program. Upon enqueuing the work item in an execution queue, the system captures pre-queue stack trace information associated with the work item, and associates the pre-queue stack trace information with the work item. The system removes the work item from the execution queue for execution, wherein the execution is associated with current stack trace information separate from the pre-queue stack trace information. Upon detecting an event associated with executing the work item, the system merges the pre-queue stack trace information with the current stack trace information to yield a merged stack trace.
Abstract translation: 当对用于异步执行的工作项进行排队时,本文阐述的方法使调试器能够为排队的工作项提供更有意义和完整的堆栈跟踪信息。 示例系统在程序运行期间将要排入队列的工作项标识为异步执行,作为单独的线程。 在执行队列中排队工作项后,系统将捕获与工作项相关联的预排队堆栈跟踪信息,并将队列前跟踪信息与工作项相关联。 该系统从执行队列中删除工作项以供执行,其中执行与当前堆栈跟踪信息相关联,该信息与预先队列堆栈跟踪信息分开。 在检测到与执行工作项相关联的事件时,系统将预先队列堆栈跟踪信息与当前堆栈跟踪信息进行合并,以产生合并堆栈跟踪。
-