System and method for virtual catching of an exception
Abstract
The techniques and mechanisms described herein are directed to a method for virtually catching an exception. A debugger receives a notification identifying information about an exception that occurred during execution of an application. The debugger then selectively chooses a location on a call stack where execution of the application resumes after the stack is unwound up to the selected location. The location being between a statement on the stack causing the exception and a handler on the stack. The handler being identified during a search phase for exception processing. The mechanism being operative for both handled exceptions and unhandled exceptions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 10.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: receiving a notification having information associated with an exception that occurred during execution of an application; forwarding the notification to a debugger to obtain a location for virtually inserting an empty catch block, the debugger determining the location for virtually inserting the empty catch block, the act of determining the location for virtually inserting the empty catch block being exclusive of user provided information and inclusive of at least information provided by a debugging service; virtually inserting an empty catch block at
- Claim 2Depends on #1
The computer-implemented method of claim 1 , wherein the receiving the notification occurs during a search phase for exception processing.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- Garcia et al. A Comparative Study of Exception-Handling Mechanisms for Building Dependable Object-oriented Software, Journal of Systems and Software, vol. 59, Issue 2, Nov. 2001, pp. 197-222.
- Sinha et al, Control-Flow Analysis of Programs with Exception Handling Constructs, Technical Report OSU-CISRC-7/98-TR25, Jul. 1998, pp. 1-32. [retrieved on Jun. 22, 2009] Retrieved from the Internet: URL <http://kaul.inf.fh-bonn-rhein-sieg.de/home/script/se2/material/testen/control-flow-exceptions.p