Unlock instant, AI-driven research and patent intelligence for your innovation.

Debug management using dynamic analysis based on state information

a dynamic analysis and state information technology, applied in the field of computer systems, can solve the problems of increasing complexity of software, increasing the number of problems associated with code as written, and difficult to solve, and achieve the effect of improving performance or efficiency

Inactive Publication Date: 2016-10-20
IBM CORP
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This patent is about a method for managing debugging in a way that improves performance and efficiency. It involves a kernel-based debugger that evaluates an expression with a bug element. The method includes identifying information about the bug element, selecting a tolerance parameter for a conditional breakpoint, and detecting triggering events that might cause a break in the code. By disregarding these triggering events, the method improves the speed and accuracy of debugging.

Problems solved by technology

As computers have become faster and available memory has increased, software has also become more and more complex.
With the increased complexity of software applications, the issues associated with the code as written have become more numerous and difficult to resolve.

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
  • Debug management using dynamic analysis based on state information
  • Debug management using dynamic analysis based on state information
  • Debug management using dynamic analysis based on state information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011]Aspects of the disclosure include testing a Boolean expression at the time which the resulting byte code is interpreted for execution errors. One or more routines from a dynamic analyzer may be called that can detect an error event (e.g., errors that would otherwise not be detected and can cause random behavior with respect to a conditional breakpoint). The user can utilize one or more directives on the conditional breakpoint to control firing if such an error is detected.

[0012]Aspects of the disclosure leverage run-time routines associated with the dynamic analysis instrumentation code to determine if an error may be in the Boolean expression that is being executed by the debugger. Both adding control information and such additional checking can provide the user with increased options for performance, efficiency, debuggability, or flexibility (e.g., options they otherwise would not have). For instance, when a conditional breakpoint is set on a path where one of the variables ...

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

Disclosed aspects include a debugger evaluating an expression. The expression has a debug element. Using dynamic analysis, a set of state information related to the debug element is identified. The set of state information can be generated external to the debugger and used within the debugger subsequent to being generated. Utilizing the set of state information, a tolerance parameter is selected. The tolerance parameter is for a conditional breakpoint linked with the debug element. In response to selecting the tolerance parameter, a triggering event for the conditional breakpoint may be detected. Based on the tolerance parameter, it may be determined to disregard the triggering event. Subsequently, the triggering event can be disregarded. Altogether, aspects of the disclosure provide a methodology for debug management that may provide performance or efficiency benefits.

Description

BACKGROUND[0001]This disclosure relates generally to computer systems and, more particularly, relates to debug management. As computers have become faster and available memory has increased, software has also become more and more complex. A typical software application may contain millions of lines of code. With the increased complexity of software applications, the issues associated with the code as written have become more numerous and difficult to resolve. As code complexity has increased, the need for debug management efficiency may increase.SUMMARY[0002]Aspects of the disclosure leverage run-time routines associated with the dynamic analysis instrumentation code to determine if a specific analysis error may be in the Boolean expression that is being executed by the debugger. One or more routines from a dynamic analyzer may be called that can detect an error event. The user can utilize one or more directives on the conditional breakpoint to control firing if such an error is det...

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/36
CPCG06F11/362G06F11/3636G06F11/3612
Inventor BATES, CARY L.HELGESON, LEEKING, JUSTIN K.SCHLICHT, MICHELLE A.
Owner IBM CORP