-
公开(公告)号:CA2418255A1
公开(公告)日:2004-07-31
申请号:CA2418255
申请日:2003-01-31
Applicant: IBM CANADA
Inventor: BERESTETSKY VADIM , BABINEAU SEAN ERIC , SANTOSUOSSO JOHN MATTHEW , BATES CARY LEE
IPC: G06F9/44
Abstract: A method and an apparatus within an integrated development environment to increase the efficiency of tracking changes made to source code. The method and apparatus comprise three modes: a constructor mode, a matchmaker mode, and an announcer mode. The constructor first determines what source code/programming constructs are contained within an executable sequence of instructions, evaluates the size of the constructs, and then parses the tokens of the constructs to construct a construct list. The matchmaker determines the degree of similari ty between any two constructs in the construct list. If the degree of similarity is sufficient, that is, if the sequence of code between two constructs is so similar that the sections of code may be considered as related and/or derivatives of one another, the matchmaker then determines if any changes ma de to one section of code may impact the other construct by weighting the changed tokens between the two sets of code. If the change is deemed significant, then the announcer takes over and determines if the developer who owns the related/derived code will be notified that a change has occurre d in the first code.
-
公开(公告)号:CA2347647A1
公开(公告)日:2002-11-15
申请号:CA2347647
申请日:2001-05-15
Applicant: IBM CANADA
Inventor: REUBEN DAY PAUL , SANTOSUOSSO JOHN MATTHEW , BERESTETSKY VADIM , BATES CARY LEE
Abstract: A method to trace a variable or other expression through a computer program is disclosed. A user determines the variable and the conditions upon which activity of the variable will be monitored. As a result of the invention, every time that variable is referenced in a memory operation or other activity by the program and the conditions set forth by the user ar e satisfied, the state of that variable is saved as a snapshot without interrupting or stopping execution o f the program. The snapshots are accumulated in a history table. The history table can be retrieved and the state of the variable in any given snapshot can be restored. Other variables and expressions can be attached to the trigger variable and the states of these other variables at the time of the activity of the trigger variable may also be saved in the snapshot. The method may be incorporated into a program as a tracing device or a program product separate from the logical processing device executing the program.
-
公开(公告)号:CA2408457A1
公开(公告)日:2004-04-17
申请号:CA2408457
申请日:2002-10-17
Applicant: IBM CANADA
Inventor: BATES CARY LEE , SANTOSUOSSO JOHN MATTHEW , BERESTETSKY VADIM
Abstract: An automated way to detect differences in the values of program variables/expressions and the order of execution between one run and another. A collection mode saves the values of expressions/variables at collection points in the program. On a subsequent execution during the detection mode, these saved values of the same expressions/variables are recalled and compared with the current values. Advantageously, the user selects the collection points within the program at which variable information can be gathered and compared; and these collectio n points may include: breakpoints set by a debugging program or by the user; collection points set by the user, and entry and/or exit points and/or points within program structures, such as procedur e calls, control blocks, etc. Setup of the collection mode includes the capability to modify the expressions/variables, the tolerance or the acceptable alternatives, and the position and number of collection points.
-
-