摘要 |
Event management in a non-stop debugging environment that includes a debugger configured to debug a debuggee, the debuggee including a number of threads of execution, where encountering an event by one of threads stops execution of only the one thread without concurrently stopping execution of other threads and event management includes: encountering, by a first thread, an event that stops execution of the first thread; while execution of the first thread is stopped, encountering, by each of one or more other threads, an event stopping execution of the other thread; queuing, by the debugger, the events stopping execution of the other threads; receiving, by the debugger from a user, an indication to flush one or more events from the queue; and flushing, by the debugger, the one or more events from the queue. |
主权项 |
1. A method of event management in a non-stop debugging environment, the non-stop debugging environment comprising a debugger configured to debug a debuggee comprising a plurality of threads of execution, wherein encountering an event by one of threads stops execution of only the one thread without concurrently stopping execution of other threads, the method comprising:
encountering, by a first thread, an event that stops execution of the first thread; while execution of the first thread is stopped, encountering, by each of one or more other threads, an event stopping execution of the other thread; queuing, by the debugger, the events stopping execution of the other threads; receiving, by the debugger from a user, an indication to flush one or more events from the queue; responsive to receiving the indication from the user to flush one or more events from the queue, flushing, by the debugger, the one or more events from the queue; receiving, by the debugger from the user, an indication of an event blocked from queuing, wherein: encountering, by each of one or more other threads, an event stopping execution of the other thread further comprises encountering, by a second thread, the event blocked from queuing, the event stopping execution of the second thread; queuing, by the debugger, the events stopping execution of the other threads further comprises not queuing the event blocked from queuing receiving, by the debugger, user input requesting a change in perspective of a graphical user interface (‘GUI’) presented by the debugger to information describing the second thread stopped by the event blocked from queuing; and changing, by the debugger, the perspective to the information describing the second thread.
|