Patents
US 8,327,336 B2#16083117 Most CitedActiveUnited States (USPTO)Utility

Enhanced thread stepping

7Forward Citations (#16083117 Global)
0.5/yrCitation Velocity (#15822008 Global)
1.35Citation PageRank (#27056261 Global)
25Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Embodiments of the invention provide debugging techniques for multithreaded programs. For example, a debugger may reduce the time required to release inactive threads that hold resources needed by an active thread. For example, if a timer expires before a line of code finishes executing, the debugger assumes that the active thread requires a resource locked by an inactive thread and releases other threads. During subsequent execution of the line of code, the debugger reduces the timer length of the timer. In doing so, inactive threads are released sooner, thereby reducing the wait time a user experiences when debugging lines of code.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 7.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for debugging a multithreaded program, comprising: receiving a first request to execute a current line of code for a first thread of the multithreaded program actively being debugged by a debugging application, wherein executing the current line of code requires access, by the first thread, to a shared resource shared by a plurality of threads of the multithreaded program, and wherein an execution of a second one of the plurality of threads is suspended by the debugging application; upon determining that a first debug timer did not expire during a previous executi

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (25)

PatentTitleYearCitations
US 6,378,125 B1Debugger thread identification points2002132
US 6,378,124 B1Debugger thread synchronization control points2002100
US 6,826,754 B1Method for eliminating or reducing hang conditions in computer systems20048
US 2005149697 A1Mechanism to exploit synchronization overhead to improve multithreaded performance—80
US 6,971,084 B2System and method for synchronizing execution of a batch of threads200574
US 7,111,307 B1Method and system for monitoring and verifying software drivers using system resources including memory allocation and access2006132
US 7,178,005 B1Efficient implementation of timers in a multithreaded processor200723
US 7,219,348 B2Detecting and causing latent deadlocks in multi-threaded programs200712
US 2007271450 A1Method and system for enhanced thread synchronization and coordination—54
US 2007288939 A1Detecting Deadlocks In Interop-Debugging—25
US 2008127035 A1Watchpoints on transactional variables—58
US 7,421,681 B2Method and system for autonomic monitoring of semaphore operation in an application200868
US 7,428,727 B2Debugging techniques in a multithreaded environment200838
US 2008271042 A1Testing multi-thread software using prioritized context switch limits—51
US 2008282229 A1Apparatus and method of detecting errors in embedded software—28
US 2009125887 A1System and method for generating error traces for concurrency bugs—58
US 2009164976 A1Multi-threaded debugger support—24
US 2009320001 A1System, method and program product for monitoring changes to data within a critical section of a threaded program—45
US 7,752,605 B2Precise data-race detection using locksets201031
US 7,779,390 B1Thread-safe remote debugger201042
US 7,849,465 B2Programmable event driven yield mechanism which may activate service threads201018
US 7,865,883 B1Parallel and asynchronous debugger and debugging method for multi-threaded programs201132
US 2011252424 A1System and method for detecting deadlock in a multithread program—7

Non-Patent Literature (5)

  • Agarwal et al., "Runtime Detection of Potential Deadlocks for Programs with Locks, Semaphores, and Condition Variables", 2006 ACM, pp. 51-59; .
  • Agarwal et al., "Runtime Detection of Potential Deadlocks for Programs with Locks, Semaphores, and Condition Variables", 2006 ACM, pp. 51-59; <http://dl.acm.org/citation.cfm?id=1147403.1147413&coll=DL&dl=GUIDE&CFID=97596523&CFTOKEN=81085112>.
  • Li et al., "MKtrace-An innovative debugging tool for multi-threaded programs on multiprocessor systems", 2007 IEEE, pp. 510-517; .
  • Li et al., "MKtrace—An innovative debugging tool for multi-threaded programs on multiprocessor systems", 2007 IEEE, pp. 510-517; <http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=4425894>.
  • Shameem Akhter, "Multithreaded Debugging Techniques", Apr. 23, 2007, excerpted from "Multi-Core Programming", Intel Corporation, pp. 1-10; .