Method of testing software

US9619368B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9619368-B2
Application numberUS-201514672422-A
CountryUS
Kind codeB2
Filing dateMar 30, 2015
Priority dateJan 29, 2015
Publication dateApr 11, 2017
Grant dateApr 11, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method of testing software uses a debugger and a breakpoint handler. The debugger inserts a breakpoint in a target application and enters at least one filtering condition associated with the breakpoint in a data structure. When during execution the target application encounters a breakpoint at an address, the target application transfers execution to the breakpoint handler. The breakpoint handler uses the address to retrieve filtering conditions from the data structure, executes code for evaluating the filtering condition, and transfers execution back to the target application if the filtering condition is not met.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method of testing software of a target application using a debugger and a breakpoint handler comprising: inserting, by the debugger, a first breakpoint in the target application; entering, by the debugger, at least one filtering condition associated with the first breakpoint in a data structure; transferring execution by the target application to the breakpoint handler when during execution the target application encounters the first breakpoint at an address; retrieving, by the breakpoint handler, a filtering condition from the data structure based upon the address; evaluating, by the breakpoint handler, the filtering condition to determine if the filtering condition is met, and executing, by the breakpoint handler, a first code and a second code if the filtering condition is not met, wherein the first code is breakpoint code of the first breakpoint and a second breakpoint, and the second code is breakpoint code of the first breakpoint and not breakpoint code of the second breakpoint, wherein the second code comprises position independent code and code for jumping back to the target application. 2. The method according to claim 1 , wherein evaluating the filtering condition comprises executing the first code, and wherein based upon the evaluation the first code implements a jump to the second code. 3. The method according to claim 2 , further comprising: restoring at least some registers affected by the first breakpoint. 4. The method according to claim 2 , further comprising: restoring, by the second code, any remaining registers affected by the first breakpoint. 5. The method according to claim 1 , further comprising: generating, by the debugger, the second code of the breakpoint handler. 6. The method according to claim 1 , further comprising: translating, by the debugger, original code replaced with the first breakpoint into the position independent code. 7. The method according to claim 6 , further comprising: invoking, by the debugger, a disassembler for identifying and, if necessary, changing instructions of the original code. 8. The method according to claim 1 , further comprising: transferring execution to the breakpoint handler via an interrupt handler, which interrupt handler passes the address of the first breakpoint to the breakpoint handler. 9. The method according to claim 1 , further comprising: stopping execution of the target application if the filtering condition is met. 10. The method according to claim 1 , further comprising: entering in the data structure, together with each filtering condition associated with the first breakpoint, an identification of the second code entry. 11. The method according to claim 1 , further comprising: transferring execution to the breakpoint handler via an interrupt handler. 12. A computer program product, not comprising transitory media, comprising instructions for causing a processor system to perform a method of testing software using a debugger and a breakpoint handler, the breakpoint handler comprises a first code and a second code, wherein the first code is breakpoint code of a first breakpoint and a second breakpoint, and the second code is breakpoint code of the first breakpoint and not breakpoint code of the second breakpoint, wherein the second code comprises position independent code and code for jumping back to a target application, the debugger instructions of the product are configured for: inserting the first breakpoint in the target application, entering at least one filtering condition associated with the first breakpoint in a data structure, and causing, when during execution the target application encounters first breakpoint at a certain address, the target application to transfer execution to the breakpoint handler, and in which product the breakpoint handler instructions are configured for: using the address to retrieve filtering conditions from the data structure, executing code for evaluating the filtering condition, and executing the second code if the filtering condition is not met. 13. A system for testing software, executing on a processor of a computer system, using a debugger and a breakpoint handler, wherein the breakpoint handler comprises a first code and a second code, wherein the first code is breakpoint code of a first breakpoint and a second breakpoint and the second code is breakpoint code of the first breakpoint and not breakpoint code of the second breakpoint, wherein the second code comprises position independent code and code for jumping back to a target application, wherein the debugger is configured for: inserting the first breakpoint in the target application, entering at least one filtering condition associated with the first breakpoint in a data structure, and causing, when during execution the target application encounters the first breakpoint at an address, the target application transfers execution to the breakpoint handler, and wherein the breakpoint handler is configured for: using the address to retrieve filtering conditions from the data structure, executing code for evaluating the filtering condition, and executing the second code if the filtering condition is not met. 14. The method according to claim 3 , further comprising: restoring any remaining registers affected by the first breakpoint.

Assignees

Inventors

Classifications

  • G06F11/364Primary

    tracing values on a bus · CPC title

  • Physics · mapped topic

  • Environments for analysis, debugging or testing of software · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9619368B2 cover?
A method of testing software uses a debugger and a breakpoint handler. The debugger inserts a breakpoint in a target application and enters at least one filtering condition associated with the breakpoint in a data structure. When during execution the target application encounters a breakpoint at an address, the target application transfers execution to the breakpoint handler. The breakpoint han…
Who is the assignee on this patent?
Miloiu Dragos, Gheorghe Alexandru Cosmin, Lazarescu Radu Theodor, and 2 more
What technology area does this patent fall under?
Primary CPC classification G06F11/364. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 11 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).