Method, system, and apparatus for identifying unresponsive portions of a computer program
A method, system, and apparatus are provided for identifying unresponsive portions of a computer program. According to the method, program code that can potentially result in unresponsive behavior is wrapped in timers. A timer is started on a background thread at the beginning of the execution of a...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method, system, and apparatus are provided for identifying unresponsive portions of a computer program. According to the method, program code that can potentially result in unresponsive behavior is wrapped in timers. A timer is started on a background thread at the beginning of the execution of a section of program code. The timer is set to expire after a specified threshold period of time has expired. A determination is made as to whether the timer expires during the execution of the section of program code. If the timer expires during the execution of the section of program code, execution is interrupted and the section of program code is identified as unresponsive and system state information is stored for use in diagnosing the computer program and remedying the unresponsive behavior. The actual system state information stored may be defined by a remote control file and may be stored at or around the time the timer expires. |
---|