CN107291428A - Source code error detecting device and debugging method - Google Patents
Source code error detecting device and debugging method Download PDFInfo
- Publication number
- CN107291428A CN107291428A CN201610194826.5A CN201610194826A CN107291428A CN 107291428 A CN107291428 A CN 107291428A CN 201610194826 A CN201610194826 A CN 201610194826A CN 107291428 A CN107291428 A CN 107291428A
- Authority
- CN
- China
- Prior art keywords
- compiling
- combination
- target
- source code
- result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
A kind of source code error detecting device and source code debugging method, the source code applied to one software product of detecting.The software product includes the source code for the complex version that those functional modules are stored in multiple functional modules, a database, and each version of each functional module corresponds to a version information.The source code error detecting device is used to find out a wrong version information with source code debugging method, to the source for the source code for finding out mistake in real time in the development process of software project.
Description
Technical field
The present invention is the error detecting device and debugging method on source code (source code), especially with respect to can chase after
Trace back source code earliest wrong version source code error detecting device and debugging method.
Background technology
The final product of software project is a product that can be run.In the development process of software, the product can be according to
Function distinguishing is different functional module, is developed separately by not commensurate, is finally integrated into product again.However, when disengaging product
It might have the situation generation for integrating failure.If when just being integrated before disengaging product, now modules may
Considerable version quantity is accumulated, the source that mistake is found out from multiple versions combination of multiple modules is undoubtedly a phase
When time-consuming engineering.It is therefore desirable to propose the device and method of correlation, to lift the efficiency for disengaging product, to shorten software item
The purpose development time.
The content of the invention
In view of the deficiency of prior art a, purpose of the invention is to provide a kind of source code error detecting device and detects mistake side
Method, to lift the efficiency for disengaging product and the development time for shortening software project.
The invention discloses a kind of source code error detecting device, wherein storing multiple versions of multiple functional modules in a database
This source code, each version of each functional module corresponds to a version information, and the source code error detecting device is used to find out one
Wrong version information, the source code error detecting device is included:One storage element, stores multiple programmed instruction;And a processing unit,
The storage element is coupled, performs those programmed instruction to complete following steps:(a) obtain one and compile combined information list, wherein
The compiling combined information list includes the multiple compiling combined informations for corresponding to multiple compiling combinations, those compiling combined information systems
Time sequencing arrangement is increased newly according to a module, and each compiling combined information includes compiling combination version information;(b) compiled from those
Target compiling combination is chosen in combination;(c) picked according to the compiling combination version information that the Target compiling is combined from the database
Take those source codes of those functional modules combined corresponding to the Target compiling;(d) those source codes are compiled to produce
One compiling result of raw Target compiling combination;(e) the compiling result combined according to the Target compiling, judges the Target compiling
Whether the adjacent compiling combination in the previous compiling combination of combination or latter compiling combination has been compiled;If (f) phase
Neighbour's compiling combination has been compiled, then judges whether the compiling result of Target compiling combination is adjacent with this and compile the volume combined
Translate result opposite;And if compiling result phase that compiling result compiling adjacent with this of (g) Target compiling combination is combined
Instead, then the compiling combined information combined according to the Target compiling and the compiling combined information of the adjacent compiling combination find out the mistake
Version information.
The present invention separately discloses a kind of source code debugging method, wherein storing the multiple of multiple functional modules in a database
The source code of version, each version of each functional module corresponds to a version information, and the source code debugging method is used to find out
One wrong version information, the source code debugging method is included:(a) obtain one and compile combined information list, the wherein compiling is combined
Information list includes the multiple compiling combined informations for corresponding to multiple compiling combinations, and those compiling combined information systems are according to a module
Newly-increased time sequencing arrangement, each compiling combined information includes multiple compiling combination version informations;(b) from those compiling combination letters
Target compiling combination is chosen in breath;(c) version information is combined from the database retrieval according to the compiling that the Target compiling is combined
Those source codes of those functional modules combined corresponding to the Target compiling;(d) those source codes are compiled to produce
One compiling result of Target compiling combination;And the compiling result that (e) is combined according to the Target compiling, judge that the target is compiled
Whether the adjacent compiling combination translated in the previous compiling combination or latter compiling combination of combination has been compiled;If (f) should
Adjacent compiling combination has been compiled, then judges whether the compiling result of Target compiling combination is adjacent with this and compile one combined
Compile result opposite;And if compiling result that compiling result compiling adjacent with this of (g) Target compiling combination is combined
On the contrary, the compiling combined information then combined according to the Target compiling and the compiling combined information of the adjacent compiling combination find out the mistake
Miss version information.
The source code error detecting device and debugging method of the present invention is persistently compiled to the various versions combination of source code, with
Just the source for detecting the source code made mistake initial stage occurred in mistake, makes mistake to expand.Compared to conventional art, this hair
The source of the bright source code that can find out mistake in real time in the development process of software project, to avoid when product integration fails,
Overspending time cost and human cost are looking for the source code of mistake.
Feature for the present invention, implementation and effect, hereby coordinate schema to make embodiment detailed description as follows.
Brief description of the drawings
Fig. 1 is the schematic diagram of an embodiment of the source code error detecting device of the present invention;And
Fig. 2 is the flow chart of an embodiment of the source code debugging method of the present invention.
Symbol description
10 source code servers
110 processing units
120 storage elements
121 programmed instruction
122 version management modules
126 data
127 latest version lists
128 source code databases
130 coffrets
20 error detecting devices
210 processing units
220 storage elements
222 control modules
224 choose module
226 collectors
230 coffrets
30 compiling result databases
S505~S590 steps
Embodiment
The disclosure of the present invention includes source code error detecting device and debugging method, can detect the source code that makes mistake
Source.Be embodied as it is possible under the premise of, the art tool usually intellectual can according to this specification disclosure come
The equivalent element or step of selection realizes the present invention, that is, the present invention implementation be not limited to after the embodiment chatted.
The schematic diagram of one embodiment of the source code error detecting device of Fig. 1 systems present invention.Source code error detecting device 20 couples original
Beginning code server 10 and compiling result database 30.Source code server 10 comprising processing unit 110, storage element 120 and
Coffret 130.Storage element 120 is by non-volatility memorizer implementation, such as disc driver, solid state hard disc, flash memory, uses
To store programmed instruction 121 and data 126.Programmed instruction 121 includes version management module 122, and processing unit 110 performs version
Programmed instruction corresponding to this management module 122, to realize its function.Data 126 include latest version list 127 and source code
Database 128.In various embodiments, latest version list 127 and source code database 128 can be stored in different storages
Unit.
Version management module 122 can provide a user interface, and user can be by the source code of a module through the user interface
Increase newly to source code server 10, while the relevant information of the module is provided through the user interface, such as module title, version
The information such as numbering, program developer.Source code server 10 is received through coffret 130 (being, for example, Ethernet coffret)
To after the source code and relevant information of the module, version management module 122 stores the source code of the module to source code data
Storehouse 128, and latest version list 127 is updated according to the relevant information of the module.The record source code clothes of latest version list 127
The latest edition of each module of an at least software product in device 10 of being engaged in is numbered, for example, assuming that a software product includes 5 moulds
Block AB1~AB5, as shown in Table 1 below the latest version list 127 corresponding to the software product can be:
Table 1:
Module title | AB1 | AB2 | AB3 | AB4 | AB5 |
Latest edition is numbered | CL123 | CL456 | CL789 | CL357 | CL135 |
In addition to updating latest version list 127 and source code database 128, whenever user increases the original of a module newly
During code, version management module 122 can update the compiling combined information list being stored in compiling result database 30.Citing comes
Say, at the 0th minute, the newly-increased modules A B4 of user source code was to source code server 10, and its start context is CL357, version
Management module 122 after latest version list 127 has been updated, version management module 122 will according to module increase newly the time with it is newest
(as shown in table 1, modules A B1 latest edition numbering is CL123, mould to the latest edition numbering of all modules in version list 127
Block AB2 latest edition numbering is CL456, by that analogy), increase correspondence as shown in table 2 newly in compiling combined information list
In the compiling combined information of a compiling combination, compiling combined information for example includes module and increases temporal information, newly-increased module version newly
This information combines version information with compiling.Note that module in table 2 increase newly the time be only used within the 0th minute represent one it is relative when
Between point, in fact, may be had before the 0th minute at least one compiling combination.
Table 2:
Error detecting device 20 includes processing unit 210, storage element 220 and coffret 230.Storage element 220 is waved by non-
Hair property memory implementation, such as disc driver, solid state hard disc, flash memory, for storing multiple programmed instruction.Processing unit
210 perform those programmed instruction to reach the function of error detecting device 20.According to the difference of function, programmed instruction can be divided into
Different functional modules, can for example, at least divide into control module 222, choose module 224 and collector 226.Control mould
What block 222 was used for controlling error detecting device 20 detects wrong program.Module 224 is chosen to be used for choosing Target compiling combination.Collector
226 are used for compiling Target compiling combination.Coffret 230 is, for example, Ethernet coffret.
Successful com, which is represented, can produce final software product to the compiling that should compile combination, and failure can not then be produced
Raw final software product.
Fig. 2 flow chart is coordinated to illustrate an embodiment of source code debugging method below.First, the foundation of module 224 is chosen
Compile combined information list and a newest compiling combination is chosen from non-compiled compiling combination as Target compiling combination (step
Rapid S505).By taking table 2 as an example, due to non-compiled compiling combination only 1 (the compiling combination of i.e. the 0th minute), therefore mould is chosen
Block 224 can choose the compiling combination of the 0th minute as Target compiling combination.
Next, the compiling combination version information that collector 226 is combined according to the Target compiling is compiled (step
S510).By taking table 2 as an example, collector 226 combines version information AB1 (CL123) AB2 according to the compiling that Target compiling is combined
(CL456) AB3 (CL789) AB4 (CL357) AB5 (CL135), mould is obtained through coffret 230 from source code server 10
Source code that source code that block AB1 start contexts are CL123, modules A B2 start contexts are CL456, modules A B3 start contexts are
The source code that source code that CL789 source code, modules A B4 start contexts is CL357, modules A B5 start contexts are CL135 comes
It is compiled, to produce a compiling result of Target compiling combination.Then the compiling result is successfully;Otherwise it is failure.In addition,
Collector 226 separately can be according to the compiling result more newly compiled combined information list, for example, if collector 226 is carried out
The software product of e.g. dual code (binary code) can be produced after compiling, then by the compiling knot of the compiling combination of the 0th minute
Fruit is denoted as success;Otherwise it is denoted as failure.
Next, control module 222 can judge whether the compiling result of Target compiling combination is successfully (step S520).
If this time compiling result is that successfully, control module 222 can judge whether still there is non-compiled volume in compiling combined information list
Translate combined information (step S590).If there is no any non-compiled compiling combination in compiling combined information list, terminate to detect mistake
Flow.
If still there is non-compiled compiling combination in compiling combined information list, module 224 is chosen again depending on compiling group
Conjunction information list is chosen newest compiling combination from non-compiled compiling combination and combined (step S505) as Target compiling.
For example, compiling Target compiling combination during, may have at least one module source code increase newly to
Source code server 10, and version management module 122 will update latest version list 127 according to this.Hold example, it is assumed that collector
226 compile cost 10 minutes every time, then the compiling combination of the 0th minute will be completed in compiling in the 10th minute;But modules A B5,
AB1, AB2, AB2 respectively the 3rd, increase newly to source code server 10 within 5,7,8 minutes, newly-increased version number be respectively CL967,
CL647, CL635 and CL847), then at the end of the compiling of the compiling combination of the 0th minute (i.e. the 10th minute), compiling combination letter
Breath list is updated to as shown in table 3 by version management module 122.
Table 3:
Due to still there is non-compiled compiling combination in compiling combined information list 3, compiling group will be chosen by choosing module 224
Compiling combination (the compiling combination of i.e. the 8th minute) non-compiled and newest in information list 3 is closed to combine as new Target compiling
(step S505), then collector 226 according to the 8th minute compiling combination compiling combination version information be compiled (step
Rapid S510).
Assuming that the 8th minute compiling combination compiling result for failure, then compile combined information list will be updated to as
Shown in table 4.
Table 4:
Because the compiling result of the compiling combination of the 8th minute is failure, so control module 222 can judge the 8th minute
Whether the previous compiling combination (the compiling combination of i.e. the 7th minute) of compiling combination has been compiled (step S530).It note that this
Previous or latter alleged compiling combination system is in module increases the time newly in specification.
Because the compiling combination of the 7th minute is not yet compiled, choosing module 224 can be chosen earlier than this with a search method
One non-compiled compiling combination of Target compiling combined information combines (step S560) as new Target compiling.In the present embodiment
In, choose module 224 and Target compiling combination is chosen using binary search (binary search).For example, choose
Module 224 can choose the 3rd, in the compiling combination of 5,7 minutes module increase newly a time compiling combination placed in the middle (i.e. the 5th minute
Compiling combination) combined as Target compiling.In various embodiments, choosing module 224 can use other search methods to select
Target compiling is taken to combine, for example sequential search method (Sequential Search).
Then, collector 226 is compiled (step according to the compiling combination version information of the compiling combination of the 5th minute
S570).Then, control module 222 judges whether compiling result is successfully (step S580).If it is successfully, to control to compile result
Molding block 222 judges whether latter compiling combination of Target compiling combination has been compiled (step S532);If conversely, compiling knot
Fruit is failure, then control module 222 judges whether the previous compiling combination of Target compiling combination has been compiled (step S530).
As an example it is assumed that the compiling result of the compiling combination of the 5th minute be successfully, then compiling combined information list will be by
Update as shown in table 5.
Table 5:
Because the compiling result of the compiling combination of the 5th minute is that successfully, therefore control module 222 can judge the 7th minute
Whether compiling combination has been compiled (step S532).Because the compiling combination of the 7th minute is not yet compiled, so choosing module
224 can choose non-compiled compiling combination (the compiling group of i.e. the 7th minute for being later than Target compiling combination with a search method
Close) combine (step S562) as new Target compiling.Next, volume of the collector 226 according to the compiling combination of the 7th minute
Combination version information is translated to be compiled (step S570).
The compiling result combined based on the following corresponding 7th minute compiling is the different situations of two kinds successfully and failed to enter
Row explanation.
Situation 1:The compiling result of the compiling combination of the 7th minute is successfully.Control module 222 finds its latter compiling group
Close (the compiling combination of i.e. the 8th minute) to be compiled (step S532), and it was found that the compiling result of the compiling combination of the 8th minute
To fail (step S542), then control module 222 finds out the version for the module for causing compiling to fail according to compiling combined information list
This information (i.e. wrong version information) (step S550).In step S550, because Target compiling combines the (volume of i.e. the 7th minute
Translate combination) compiling result be successfully, so control module 222 is the latter compiling combination the (the i.e. the 8th combined with Target compiling
Minute compiling combination) newly-increased module release information (i.e. AB2 (CL847)) be used as wrong version information.
Situation 2:The compiling result of the compiling combination of the 7th minute is failure.Control module 222 finds its previous compiling group
Close (the compiling combination of i.e. the 5th minute) to be compiled (step S530), and it was found that the compiling result of the compiling combination of the 5th minute
To succeed (step S540), then control module 222 finds out wrong version information (step S550) according to compiling combined information list.
In step S550, because the compiling result of Target compiling combination (the compiling combination of i.e. the 7th minute) is failure, mould is controlled
Block 222 is that (i.e. AB2 (CL635) is used as wrong version information for the newly-increased module release information that is combined using Target compiling.
In fact, detect the first purpose of cross-flow journey, it is to find out compiling result from compiling combined information list different
Two adjacent compiling combinations, then find out wrong version from the compiling combined information corresponding to this two adjacent compiling combinations
Information.In the present embodiment, because compiling combined information list has recorded the newly-increased module release of each compiling combination, therefore
Control module 222 rapidly can obtain wrong version information from the newly-increased module release field of compiling combined information list.
However, in other embodiments, if compiling combined information list lacks newly-increased module release field, control module 222
The compiling combination version of this two adjacent compiling combination is compared, you can find out wrong version information.In other words, nothing
It is that, comprising newly-increased module release field, the present invention can all be quickly found wrong version information by compiling combined information list.
It note that in the above-described embodiment, although error detecting device 20 is located at outside source code server 10, but at it
In his embodiment, error detecting device 20 can be integrated in source code server 10.In other examples, number of results is compiled
Can in the lump it be integrated in source code server 10 together with error detecting device 20 according to storehouse 30.
Although embodiments of the invention as described above, but those embodiments be not used for limiting the present invention, this technology neck
Domain tool usually intellectual can impose change according to the content expressed or implied of the present invention to the technical characteristic of the present invention, it is all this
Many variations may belong to the patent protection category sought by the present invention, in other words, and scope of patent protection of the invention must be regarded
The as defined in claim of this specification is defined.
Claims (20)
1. a kind of source code error detecting device, wherein the source code of multiple versions of multiple functional modules is stored in a database,
Each version of each functional module corresponds to a version information, and the source code error detecting device is used to find out wrong version letter
Breath, the source code error detecting device is included:
One storage element, stores multiple programmed instruction;And
One processing unit, couples the storage element, performs those programmed instruction to complete following steps:
(a) obtain one and compile combined information list, wherein the compiling combined information list, which is included, corresponds to multiple compiling combinations
Multiple compiling combined informations, those compiling combined information systems increase time sequencing arrangement, each compiling combination letter newly according to a module
Breath includes compiling combination version information;
(b) Target compiling combination is chosen from those compiling combinations;
(c) version information is combined according to the compiling that the Target compiling is combined to combine corresponding to the Target compiling from the database retrieval
Those functional modules those source codes;
(d) those source codes are compiled to produce a compiling result of Target compiling combination;
(e) according to the Target compiling combine the compiling result, judge the Target compiling combination previous compiling combination or after
Whether the adjacent compiling combination in one compiling combination has been compiled;
If (f) the adjacent compiling combination has been compiled, judge whether the compiling result of Target compiling combination is adjacent with this
One compiling result of compiling combination is opposite;And
(g) if the compiling result that the Target compiling is combined it is adjacent with this compile the compiling result that combine on the contrary, if basis this
The compiling combined information of Target compiling combination and the compiling combined information of the adjacent compiling combination find out the wrong version information.
2. source code error detecting device as claimed in claim 1, it is characterised in that step (e) is included:
Judge the compiling result of Target compiling combination for success or failure;And
If the compiling result of Target compiling combination is failure, the previous compiling combination of Target compiling combination is judged
Whether it has been compiled.
3. source code error detecting device as claimed in claim 2, it is characterised in that compiling combined information additionally comprises newly-increased module version
This information, step (f) is included:
If the previous compiling combination of Target compiling combination has been compiled, a compiling of the previous compiling combination is judged
As a result whether it is success;
Step (g) is included:
If the compiling result of the previous compiling combination is the successfully newly-increased module release information combined with the Target compiling
It is used as the wrong version information.
4. source code error detecting device as claimed in claim 1, it is characterised in that step (e) is included:
Judge the compiling result of Target compiling combination for success or failure;And
If the compiling result of Target compiling combination is successfully, the latter compiling combination of Target compiling combination is judged
Whether it has been compiled.
5. source code error detecting device as claimed in claim 4, it is characterised in that compiling combined information additionally comprises newly-increased module version
This information, step (f) is included:
If the latter compiling combination of Target compiling combination has been compiled, a compiling of the latter compiling combination is judged
As a result whether it is failure;
Step (g) is included:
If the compiling result of the latter compiling combination is failure, believed with the newly-increased module release of the latter compiling combination
Breath is used as the wrong version information.
6. source code error detecting device as claimed in claim 1, it is characterised in that the processing unit more performs those programmed instruction
To complete following steps:
If (h) the adjacent compiling combination is not compiled, another Target compiling is chosen from those compiling combinations with a search method
Combination.
7. source code error detecting device as claimed in claim 6, it is characterised in that the search genealogy of law is a binary search.
8. source code error detecting device as claimed in claim 6, it is characterised in that step (h) is included:
Module is chosen from those compiling combinations increase relatively morning time or module newly according to the compiling result that the Target compiling is combined
The later compiling combination of newly-increased time is used as another Target compiling combined information.
9. source code error detecting device as claimed in claim 8, it is characterised in that step (h) is included:
Judge the compiling result of Target compiling combination for success or failure;And
If the compiling result of Target compiling combination is failure, the module newly-increased time is chosen from those compiling combinations more early
A compiling combination be used as another Target compiling combination.
10. source code error detecting device as claimed in claim 8, it is characterised in that step (h) is included:
Judge the compiling result of Target compiling combination for success or failure;And
If the compiling result of Target compiling combination is successfully, the module newly-increased time is chosen from those compiling combinations later
A compiling combination be used as another Target compiling combination.
11. a kind of source code debugging method, wherein the source code of multiple versions of multiple functional modules is stored in a database,
Each version of each functional module corresponds to a version information, and the source code debugging method is used to find out wrong version letter
Breath, the source code debugging method is included:
(a) obtain one and compile combined information list, wherein the compiling combined information list, which is included, corresponds to multiple compiling combinations
Multiple compiling combined informations, those compiling combined information systems increase time sequencing arrangement, each compiling combination letter newly according to a module
Breath includes multiple compiling combination version informations;
(b) Target compiling combination is chosen from those compiling combined informations;
(c) version information is combined according to the compiling that the Target compiling is combined to combine corresponding to the Target compiling from the database retrieval
Those functional modules those source codes;
(d) those source codes are compiled to produce a compiling result of Target compiling combination;And
(e) according to the Target compiling combine the compiling result, judge the Target compiling combination previous compiling combination or after
Whether the adjacent compiling combination in one compiling combination has been compiled;
If (f) the adjacent compiling combination has been compiled, judge whether the compiling result of Target compiling combination is adjacent with this
One compiling result of compiling combination is opposite;And
(g) if the compiling result that the Target compiling is combined it is adjacent with this compile the compiling result that combine on the contrary, if basis this
The compiling combined information of Target compiling combination and the compiling combined information of the adjacent compiling combination find out the wrong version information.
12. source code debugging method as claimed in claim 11, it is characterised in that step (e) is included:
Judge the compiling result of Target compiling combination for success or failure;And
If the compiling result of Target compiling combination is failure, the previous compiling combination of Target compiling combination is judged
Whether it has been compiled.
13. source code debugging method as claimed in claim 12, it is characterised in that compiling combined information additionally comprises newly-increased module
Version information, step (f) is included:
If the previous compiling combination of Target compiling combination has been compiled, a compiling of the previous compiling combination is judged
As a result whether it is success;
Step (g) is included:
If the compiling result of the previous compiling combination is the successfully newly-increased module release information combined with the Target compiling
It is used as the wrong version information.
14. source code debugging method as claimed in claim 11, it is characterised in that step (e) is included:
Judge the compiling result of Target compiling combination for success or failure;And
If the compiling result of Target compiling combination is successfully, the latter compiling combination of Target compiling combination is judged
Whether it has been compiled.
15. source code debugging method as claimed in claim 14, it is characterised in that compiling combined information additionally comprises newly-increased module
Version information, step (f) is included:
If the latter compiling combination of Target compiling combination has been compiled, a compiling of the latter compiling combination is judged
As a result whether it is failure;
Step (g) is included:
If the compiling result of the latter compiling combination is failure, believed with the newly-increased module release of the latter compiling combination
Breath is used as the wrong version information.
16. source code debugging method as claimed in claim 11, it is characterised in that the processing unit more performs those programs and referred to
Make completing following steps:
If (h) the adjacent compiling combination is not compiled, another Target compiling is chosen from those compiling combinations with a search method
Combination.
17. source code debugging method as claimed in claim 16, it is characterised in that the search genealogy of law is a binary search.
18. source code debugging method as claimed in claim 16, it is characterised in that step (h) is included:
Module is chosen from those compiling combinations increase relatively morning time or module newly according to the compiling result that the Target compiling is combined
The later compiling combination of newly-increased time is used as another Target compiling combined information.
19. source code debugging method as claimed in claim 18, it is characterised in that step (h) is included:
Judge the compiling result of Target compiling combination for success or failure;And
If the compiling result of Target compiling combination is failure, the module newly-increased time is chosen from those compiling combinations more early
A compiling combination be used as another Target compiling combination.
20. source code debugging method as claimed in claim 18, it is characterised in that step (h) is included:
Judge the compiling result of Target compiling combination for success or failure;And
If the compiling result of Target compiling combination is successfully, the module newly-increased time is chosen from those compiling combinations later
A compiling combination money be used as another Target compiling combination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610194826.5A CN107291428A (en) | 2016-03-31 | 2016-03-31 | Source code error detecting device and debugging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610194826.5A CN107291428A (en) | 2016-03-31 | 2016-03-31 | Source code error detecting device and debugging method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107291428A true CN107291428A (en) | 2017-10-24 |
Family
ID=60086705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610194826.5A Pending CN107291428A (en) | 2016-03-31 | 2016-03-31 | Source code error detecting device and debugging method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107291428A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111158694A (en) * | 2019-12-19 | 2020-05-15 | 杭州迪普科技股份有限公司 | Compiling alarm processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1556949A (en) * | 2001-09-24 | 2004-12-22 | Զ���� | Method and system for collaboratively developing programming code for programmable controllers |
TW200532555A (en) * | 2004-03-16 | 2005-10-01 | Inventec Corp | Method and system for automatically compiling computer program data |
JP2010186378A (en) * | 2009-02-13 | 2010-08-26 | Hitachi Ltd | Difference display system and method between versions of software |
CN104077217A (en) * | 2013-03-28 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Method and system for compiling and issuing code file |
US20150100945A1 (en) * | 2013-10-08 | 2015-04-09 | International Business Machines Corporation | Resuming a software build process |
-
2016
- 2016-03-31 CN CN201610194826.5A patent/CN107291428A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1556949A (en) * | 2001-09-24 | 2004-12-22 | Զ���� | Method and system for collaboratively developing programming code for programmable controllers |
TW200532555A (en) * | 2004-03-16 | 2005-10-01 | Inventec Corp | Method and system for automatically compiling computer program data |
JP2010186378A (en) * | 2009-02-13 | 2010-08-26 | Hitachi Ltd | Difference display system and method between versions of software |
CN104077217A (en) * | 2013-03-28 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Method and system for compiling and issuing code file |
US20150100945A1 (en) * | 2013-10-08 | 2015-04-09 | International Business Machines Corporation | Resuming a software build process |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111158694A (en) * | 2019-12-19 | 2020-05-15 | 杭州迪普科技股份有限公司 | Compiling alarm processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110321344B (en) | Information query method and device for associated data, computer equipment and storage medium | |
JP7182021B2 (en) | KEYPOINT DETECTION METHOD, KEYPOINT DETECTION DEVICE, ELECTRONIC DEVICE, AND STORAGE MEDIUM | |
CN103810224B (en) | information persistence and query method and device | |
CN103345616B (en) | The system of the fingerprint storage comparison that Behavior-based control is analyzed | |
US20090125540A1 (en) | Method for executing federated database queries using aliased keys | |
US11610018B2 (en) | Systems and methods for the incremental and reversible deployment of a biometric identity management system | |
CN109298840A (en) | Data integrating method, server and storage medium based on data lake | |
CN113707303A (en) | Method, device, equipment and medium for solving medical problems based on knowledge graph | |
US20210191903A1 (en) | Generating hash trees for database schemas | |
CN109597834A (en) | Mass data storage means, device, medium and equipment based on redis | |
CN110955661A (en) | Data fusion method and device, readable storage medium and electronic equipment | |
CN103513781A (en) | Accurate and fast electronic medical record entering system | |
Cruz et al. | Pay-as-you-go multi-user feedback model for ontology matching | |
TWI297862B (en) | Reference data recognition and learning method and pattern recognition system | |
US20090112794A1 (en) | Aliased keys for federated database queries | |
CN104636480B (en) | Rebuild the method and its device of standby host database | |
CN110737432B (en) | Script aided design method and device based on root list | |
CN107291428A (en) | Source code error detecting device and debugging method | |
CN112948473A (en) | Data processing method, device and system of data warehouse and storage medium | |
TWI582618B (en) | Source code error detection device and method thereof | |
CN108363773A (en) | A kind of method and device of registering based on binary operation | |
CN106682033A (en) | Knowledge base check method and device | |
CN102609664B (en) | Based on the identification of process fingerprint intelligent and fuzzy acquisition system and method thereof that can carry out body | |
CN112698866B (en) | Code line life cycle tracing method based on Git and electronic device | |
CN109376154A (en) | Reading data, wiring method and reading data, writing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200403 Address after: No.1, Duhang 1st Road, Hsinchu City, Hsinchu Science Park, Taiwan, China Applicant after: MEDIATEK Inc. Address before: Taiwan Hsinchu County Tai Yuan Street China jhubei City, No. 26 4 floor 1 Applicant before: MStar Semiconductor, Inc. |
|
TA01 | Transfer of patent application right | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171024 |
|
WD01 | Invention patent application deemed withdrawn after publication |