Numerical controller and numerical control system in which the controller is connected by network
US-2016378096-A1 · Dec 29, 2016 · US
US9619368B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9619368-B2 |
| Application number | US-201514672422-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 30, 2015 |
| Priority date | Jan 29, 2015 |
| Publication date | Apr 11, 2017 |
| Grant date | Apr 11, 2017 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
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.
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.
tracing values on a bus · CPC title
Physics · mapped topic
Environments for analysis, debugging or testing of software · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.