发明名称 Multi-threaded debugger support
摘要 A method and information processing system facilitate debugging of a multi-threaded application. A control program request associated with at least one thread of a process that has been designated for debugging is generated. The control program request is placed into a memory buffer associated with the thread by the debugger. The memory buffer is passed to a control program. A plurality of memory buffers is monitored. Each memory buffer in the plurality of memory buffers is associated with a different thread of the process. At least one memory buffer in the plurality of memory buffers is determined to include debugging event information from the control program determining. The debugging event information is processed. The processing includes at least one of notifying a user of the debugging event information and generating at least one control program request for a thread associated with the at least one memory buffer.
申请公布号 US9417989(B2) 申请公布日期 2016.08.16
申请号 US201314106894 申请日期 2013.12.16
申请人 International Business Machines Corporation 发明人 Gritter Daniel S.;Wang MeiHui;Wisniewski Joshua
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Fleit Gibbons Gutman Bongini Bianco PL 代理人 Fleit Gibbons Gutman Bongini Bianco PL ;Grzesik Thomas S.
主权项 1. A method for facilitating debugging of a multi-threaded application with a debugger, the method comprising: generating, with a debugger and based on receiving a debugging request, a control program request associated with at least one thread of a process that has been designated, as indicated by the debugging request, for debugging, wherein the control program request instructs the control program to perform at least one of an execute type action and a service type action on the thread, wherein the at least one of an execute type action and a service type action manipulates the thread, and wherein the debugger is configured to receive the debugging request from a user via a graphical user interface; placing the control program request into a memory buffer associated with the thread, wherein a memory buffer is separate and distinct from a thread; passing the memory buffer to a control program, wherein the control program performs one or more control functions of an operating system; monitoring a plurality of memory buffers, wherein each memory buffer in the plurality of memory buffers is associated with a different thread of the process; determining, based on the monitoring, whether at least one memory buffer in the plurality of memory buffers includes debugging event information from the control program, wherein the debugging event information is at least based on the thread being manipulated by an action performed by the control program on the thread; and processing, based on determining that at least one memory buffer in the plurality of memory buffers includes debugging event information from the control program, the debugging event information, wherein the processing includes at least one of notifying a user of the debugging event information, andautomatically generating at least one control program request for a thread associated with the at least one memory buffer.
地址 Armonk NY US