Patents
US 8,201,152 B2#10869445 Most CitedActiveUnited States (USPTO)Utility

Method and system for debugging a program in a multi-thread environment

10Forward Citations (#10869445 Global)
0.7/yrCitation Velocity (#10752510 Global)
1.46Citation PageRank (#23896732 Global)
15Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and system for debugging a program in multithread environment which interrupts the running of a debuggee program begins by replacing the instruction at the position at which a breakpoint for debugging is desired to be set with a breakpoint instruction. When the breakpoint instruction is replaced back with the instruction at the position at which the breakpoint for debugging is set, an instruction is set in front of the breakpoint for debugging as a fence breakpoint; and when the instruction at the position at which the breakpoint for debugging is set, is replaced again with the breakpoint instruction. On completion, the fence breakpoint is replaced with the original instruction of the debuggee program at that position.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for debugging a program in a multithread environment, comprising: replacing an instruction at a first position at which a breakpoint for debugging is desired with a breakpoint instruction that interrupts the running of a debuggee program; before debugging, setting an instruction in front of the breakpoint instruction for debugging as a fence breakpoint and locating the position of the instruction set as a fence breakpoint; debugging at least one instruction of the debuggee program; and replacing the fence breakpoint with an original instruction of the debuggee program at the position

Technical Overview & Description

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

Non-Patent Literature (4)

  • "Debugging Multithread Application", www.netbeans.org/issues/show-bug.cgi?id=40901, NetBeans, Issue 40901, Mar. 10, 2004.
  • Debugging multithread application, Zikmund, 10, Mar. 2004.
  • Debugging tools and techniques for Linux on Power, Sze et al., Aug. 4, 2005.
  • Ramsey, Norman "Correctness of Trap-Based Breakpoint Implementations" Bell Communications Research, ACM 0-89791-636, 1994.