Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Capture and display of historical run-time execution traces in a code editor

a code editor and run-time execution technology, applied in the field of computer programming editors, can solve problems such as forgetting code written by programmers, exacerbate the difficulty of writing program code, and difficult for programmers to reason about and extend code written by others

Inactive Publication Date: 2014-09-18
IBM CORP
View PDF7 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The patent describes a way to capture and present historical insights into program code execution. This involves identifying the program code and monitoring its execution. The system captures information about the variables used during execution and stores it as a historical record. This allows for analysis and presentation of the program code without actually running it. The technical effects include improved programming analysis and debugging, as well as improved program performance and optimization.

Problems solved by technology

In programming, not knowing the types or contents of variables exacerbates the difficulty in writing a program code.
These problems make it difficult for programmers to reason about and extend code written by others, or even code written by them and forgotten.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Capture and display of historical run-time execution traces in a code editor
  • Capture and display of historical run-time execution traces in a code editor
  • Capture and display of historical run-time execution traces in a code editor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013]Allowing a user to view or inspect historical or projected (e.g., forecasted) values of software variables is disclosed, e.g., when using a program code editor. The values may be viewed or inspected, e.g., during the code execution. The values may be viewed or inspected also when the code is not actually executing. Such features may be provided in the forms of a system, method, and / or programming instructions executable on one or more hardware processors.

[0014]In one embodiment of the present disclosure, a system may capture the types and values of variables during the execution of one or more specified blocks of code and store them. During program execution, the system incrementally builds a table, or other affordance. During execution, the system continuously updates the table or the like, for example, by appending the current state of variable types and values and their statistical properties, for example, along with a date and time (referred to as a timestamp) such that a ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A program code execution is monitored. Variable type and value information the one or more variables in the program code take during the execution of the program code are stored, and compiled over multiple execution of the program code as historical run-time execution traces. A code editor user interface may present the historical run-time execution traces for inspection, whether or not the program code is currently executing. Statistical properties associated with the variable type and value information may be computed. Future variable type and value the one or more variables might take during future execution of the program code may be predicted.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS[0001]This application is a continuation of U.S. Ser. No. 13 / 837,430, filed on Mar. 15, 2013, the entire content and disclosure of which is incorporated herein by reference.BACKGROUND FIELD[0002]The present application relates generally to computers, and computer applications, and more particularly to computer programming editors, development environment and debugging tools.BACKGROUND[0003]In programming, not knowing the types or contents of variables exacerbates the difficulty in writing a program code. This may occur in dynamically-typed languages like JAVASCRIPT™, in which a variable's type is not clear from its definition, or in statically-typed languages like JAVA™, in which one may know that a variable is a string, but not know what the content of that string is supposed to be. These problems make it difficult for programmers to reason about and extend code written by others, or even code written by them and forgotten.[0004]A known softwa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F11/36G06F9/44
CPCG06F8/30G06F11/3636
Inventor MALKIN, PETER K.MARTINO, JACQUELYN A.PICKOVER, CLIFFORD A.SOROKER, DANNYWEISZ, JUSTIN D.
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products