主权项 |
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. |