EP3000041A1 - Graph for navigating application code - Google Patents

Graph for navigating application code

Info

Publication number
EP3000041A1
EP3000041A1 EP14801342.8A EP14801342A EP3000041A1 EP 3000041 A1 EP3000041 A1 EP 3000041A1 EP 14801342 A EP14801342 A EP 14801342A EP 3000041 A1 EP3000041 A1 EP 3000041A1
Authority
EP
European Patent Office
Prior art keywords
graph
code
node
representing
data
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.)
Withdrawn
Application number
EP14801342.8A
Other languages
German (de)
French (fr)
Other versions
EP3000041A4 (en
Inventor
Alexander Gounares
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Concurix Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from US13/899,500 external-priority patent/US8990777B2/en
Priority claimed from US13/899,504 external-priority patent/US9734040B2/en
Priority claimed from US13/899,503 external-priority patent/US20140189650A1/en
Priority claimed from US13/899,507 external-priority patent/US20140189652A1/en
Application filed by Concurix Corp filed Critical Concurix Corp
Publication of EP3000041A1 publication Critical patent/EP3000041A1/en
Publication of EP3000041A4 publication Critical patent/EP3000041A4/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs

Definitions

  • a programmer often examines and tests an application during development in many different manners.
  • the programmer may run the application in various use scenarios, apply loading, execute test suites, or perform other operations on the application in order to understand how the application performs and to verify that the application operates as designed.
  • the programmer may locate the problem area in source code and improve or change the code in that area. Such improvements may then be tested again to verify that the problem area was corrected.
  • Code elements may be selected from a graph depicting an application.
  • the graph may show code elements as nodes, with edges representing connections between the nodes.
  • the connections may be messages passed between code elements, code flow relationships, or other relationships.
  • a code element or group of code elements are selected from the graph, the corresponding source code may be displayed.
  • the code may be displayed in a code editor or other mechanism by which the code may be viewed, edited, and manipulated.
  • Breakpoints may be set by selecting nodes on a graph depicting code elements and relationships between code elements.
  • the graph may be derived from tracing data, and may reflect the observed code elements and the observed
  • the graph may include performance indicators.
  • the breakpoints may include conditions which depend on performance related metrics, among other things.
  • the nodes may reflect individual instances of specific code elements, while other embodiments may present nodes as the same code elements that may be utilized by different threads.
  • the breakpoints may include parameters or conditions that may be thread-specific.
  • Relationships between code elements in an application may be selected and used during analysis and debugging of the application.
  • An interactive graph may display code elements and the relationships between code elements, and a user may be able to select a relationship from the graph, whereupon details of the relationship may be displayed. The details may include data passed across the relationship, protocols used, as well as the frequency of communication, latency, queuing performance, and other performance metrics.
  • a user may be able to set breakpoints, increase or decrease tracing options, or perform other actions from the relationship selection.
  • Highlighted objects may traverse a graph representing an application's code elements and relationships between those code elements.
  • the highlighted objects may be animated to represent how the objects are processed in an application.
  • the graph may represent code elements and relationships between the code elements, and the highlighting may be generated by tracing the application to determine the flow of the object through code elements and across relationships.
  • a user may control the highlighted graph with a set of playback controls for playing through the sequence of highlights on the graph.
  • the playback controls may include pause, rewind, forward, fast forward, and other controls.
  • the controls may also include a step control which may step through small time increments.
  • a graph representing code element and relationships between code elements may have elements combined to consolidate or collapse portions of the graph.
  • a filter may operate between the graph data and a renderer to show the graph in different states.
  • the graph may be implemented with an interactive user interface through which a user may select a node, edge, or groups of nodes and edges, then apply a filter or other transformation.
  • the user selects to combine a group of code elements, the combined elements may be displayed as a single element.
  • the single element may be presented with visual differentiation to show that the element is a collapsed or combined element, as opposed to a singleton element.
  • FIGURE 1 is a diagram illustration of an embodiment showing a user interface with an interactive graph representing code elements and relationships between the code elements.
  • FIGURE 2 is a diagram illustration of an embodiment showing a device that may display an interactive graph representing an application being traced.
  • FIGURE 3 is a diagram illustration of an embodiment showing a network environment with a visualization system with dispersed components.
  • FIGURE 4 is a flowchart illustration of an embodiment showing a method for displaying a graph and selecting source code to display in response to an interaction with the graph.
  • FIGURE 5 is a diagram illustration of an embodiment showing an example user interface with a breakpoint creation.
  • FIGURE 6 is a diagram illustration of an embodiment showing an example user interface with an edge selection.
  • FIGURE 7 is a flowchart illustration of an embodiment showing a method for setting and using breakpoints.
  • FIGURES 8A, 8B, and 8C are diagram illustrations of an example embodiment showing a progression of highlighting placed on a graph representing an application.
  • FIGURE 9 is a flowchart illustration of an embodiment showing a method for highlighting a graph to trace an object's traversal across a graph.
  • FIGURE 10 is a diagram illustration of an embodiment showing a distributed system with an interactive graph and filters.
  • FIGURES 11A and 1 IB are diagram illustrations of an example embodiment showing a sequence of applying a filter to a graph.
  • FIGURE 12 is a flowchart illustration of an embodiment showing a method for creating and applying filters to a graph.
  • a graph showing code elements and relationships between code elements may be used to select and display the code elements.
  • the graph may represent both static and dynamic relationships between the code elements, including performance another metrics gathered while tracing the code elements during execution.
  • the interactive graph may have active input areas that may allow a user to select a node or edge of the graph, where the node may represent a code element and the edge may represent a relationship between code elements. After selecting the graph element, the corresponding source code or other representation of the code element may be displayed.
  • the code elements may be displayed in a code editor, and a user may be able to edit the code and perform various functions on the code, including compiling and executing the code.
  • the selected code elements may be displayed with highlighting or other visual cues so that a programmer may easily identify the precise line or lines of code represented by a node selected from the graph.
  • a selection of an edge may identify two code elements, as each edge may link the two code elements. In such a case, some embodiments may display both code elements. Such code elements may both be displayed on a user interface simultaneously using different display techniques.
  • Other embodiments may display one of the code elements linked by an edge. Some such embodiments may present a user interface that may allow a user to select between the two code elements. In one such example, a user interface may be presented that queries the user to select an upstream or downstream element when the relationship has a notion of directionality. In another example, a user interface may merely show the individual lines of code associated with each node, then permit the user to select the line of code for further investigation and display.
  • the graph may contain information derived from static and dynamic analysis of an application.
  • Static analysis may identify blocks of code as well as some relationships, such as a call tree or flow control relationships between code elements.
  • Dynamic analysis may identify blocks of code by analyzing the code in an instrumented environment to detect blocks of code and how the code interacts during execution. Some embodiments may identify messages passed between code elements, function calls made from one code element to another, or other
  • the graph may display summarized or other observations about the execution of the code. For example, a tracer may gather data about each code element, such as the amount of processor or memory resources consumed, the amount of garbage collection performed, number of cache misses, or any of many different performance metrics.
  • the graph may be displayed with some representation of performance metrics.
  • a code element may be displayed with a symbol, size, color, or other variation that may indicate a performance metric.
  • the size of a symbol displaying a node may indicate the processing time consumed by the element.
  • the width of an edge may represent the amount of data passed between code elements or the number of messages passed.
  • Breakpoints set through an interactive graph.
  • An interactive graph may serve as an input tool to select code elements from which breakpoints may be set. Objects relating to a selected code element may be displayed and a breakpoint may be created from one or more of the objects. In some cases, the breakpoints may be applied to the selected code element or to an object such that the breakpoint may be satisfied with a different code element.
  • the interactive graph may display code elements and relationships between code elements, and may visually illustrate the operation of an application.
  • the graph may be updated in real time or near real time, and may show performance related metrics using various visual effects.
  • a user may interact with the graph to identify specific code elements that may be of interest, then select the code elements to create a breakpoint.
  • Performance and other tracer data may be displayed with the selected code elements.
  • Such data may include metrics, statistics, and other information relating to the specific code element.
  • metrics may be, for example, resource consumption statistics for memory, processor, network, or other resources, comparisons between the selected code elements and other code elements, or other data.
  • the metrics may include parameters that may be incorporated into a breakpoint.
  • the graph may contain performance related data
  • a user may observe the operations and performance of an application prior to selecting where to insert a breakpoint.
  • the combination of performance data and relationship structure of the application may greatly assist a user in selecting a meaningful location for a breakpoint.
  • the relationship structure may help the user understand the application flow, as well as identify dependencies and bottlenecks that may not be readily apparent from the source code.
  • the performance data may identify those application elements that may be performing above or below expectations.
  • the combination of both the relationship structure and the performance data may be much more efficient and meaningful than other methods for identifying locations for breakpoints.
  • a relationship between code elements may be selected from an interactive graph representing code elements as nodes and relationships between code elements as edges.
  • the relationship may represent many different types of relationships, from function calls to shared memory objects. Once selected, the relationship may be used to set breakpoints, monitor communications across the relationship, increase or decrease tracing activities, or other operations.
  • the relationship may be a message passing type of relationship, some of which may merely pass acknowledgements while others may include data objects, code elements, or other information.
  • Some message passing relationships may be express messages, which may be managed with queues and other message passing components. Other message passing relationships may be implied messages, where program flow, data, or other elements may be passed from one code element to another.
  • the relationship may be a shared memory relationship, which may represent memory objects that may be written by one code element and read by another code element. Such a relationship may be identified when the first code element may take a write lock on the memory object and the second code element may be placed in a waiting state until the write lock may be released.
  • a breakpoint may be set using information related to the relationship.
  • the breakpoint may be set for messages passed across the selected relationship, such as when messages exceed a certain size, frequency, or contain certain parameters or parameter values.
  • Objects may be highlighted in an animated graph depicting an application being executed.
  • the graph may contain nodes representing code elements and edges representing relationships between the code elements.
  • the highlighted objects may represent data elements, requests, processes, or other objects that may traverse from one code element to another.
  • the highlighted objects may visually depict how certain components may progress through an application.
  • the highlights may visually link the code elements together so that an application programmer may understand the flow of the application with respect to a particular object.
  • an application that may process web requests may be visualized.
  • An incoming request may be identified and highlighted and may be operated upon by several different code elements.
  • the graph depicting the application may have a highlighted visual element, such as a bright circle, placed on a node representing the code element that receives the request.
  • the graph may show the highlighted bright circle traversing various relationships to be processed by other code elements.
  • the request may be processed by multiple code elements, and the highlighted bright circle may be depicted over each of the code elements in succession.
  • the highlighted objects may represent a single data element, a group of data elements, or any other object that may be passed from one code element to another.
  • the highlighted object may be an executable code element that may be passed as a callback or other mechanism.
  • Callbacks may be executable code that may be passed as an argument to other code, which may be expected to execute the argument at a convenient time.
  • An immediate invocation may be performed in the case of a synchronous callback, while asynchronous callbacks may be performed at some later time.
  • Many languages may support callbacks, including C, C++, Pascal, JavaScript, Lua, Python, Perl, PHP, Ruby, C#, Visual Basic, Smalltalk, and other languages.
  • callbacks may be expressly defined and implemented, while in other cases callbacks may be simulated or have constructs that may behave as callbacks.
  • Callbacks may be implemented in object oriented languages, functional languages, imperative languages, and other language types.
  • the animation of a graph may include playback controls that may pause, rewind, play, fast forward, and step through the sequence of code elements that an object may encounter.
  • playback controls may pause, rewind, play, fast forward, and step through the sequence of code elements that an object may encounter.
  • the real time speed of execution is much faster than a human may be able to comprehend.
  • a human user may be able to slow down or step through a sequence of operations so that the user can better understand how the application processes the highlighted object.
  • a graph representing code elements and relationships between code elements of an application may be filtered to combine a group of elements to represent the group of elements as a single element on the graph.
  • the graph may have interactive elements by which a user may select nodes to manipulate, and through which a filter may be applied.
  • the filters may operate as a transformation, translation, or other operation to prepare the graph data prior to rendering.
  • the filters may include consolidating multiple nodes into a single node, expanding a single node into multiple nodes, applying highlights or other visual cues to the graph elements, adding performance data modifiers to graph elements, and other transformations and operations.
  • the filters may enable many different manipulations to be applied to tracer data.
  • a data stream may be transmitted to a rendering engine and the filters may be applied prior to rendering.
  • Such cases may allow tracer data to be transmitted and stored in their entirety, while allowing customized views of the data to be shown to a user.
  • filter refers to any transformation of data prior to display.
  • a filter may remove data, concatenate data, summarize data, or perform other manipulations. In some cases, a filter may combine one data stream with another.
  • a filter may also analyze the data in various manners, and apply highlights or other tags to the data so that a rendering engine may render a graph with different features.
  • the term “filter” is meant to include any type of transformation that may be applied to data and is not meant to be limiting to a transformation where certain data may be excluded from a data stream.
  • the graph may have interactive elements by which various filters may be applied.
  • the interactive elements may include selecting nodes, edges, or groups of nodes and edges to which a filter may be applied.
  • a legend or other interactive element may serve as a mechanism to identify groups of nodes to which filters may be applied.
  • some embodiments may apply different highlighting or other visual differentiations. Such highlighting may indicate that filters or transformations had been applied to the highlighted elements.
  • profiler refers to any mechanism that may collect data when an application is executed.
  • instrumentation may refer to stubs, hooks, or other data collection mechanisms that may be inserted into executable code and thereby change the executable code
  • profiler or “tracer” may classically refer to data collection mechanisms that may not change the executable code.
  • data collection using a "tracer” may be performed using non-contact data collection in the classic sense of a “tracer” as well as data collection using the classic definition of
  • instrumentation where the executable code may be changed.
  • data collected through “instrumentation” may include data collection using non-contact data collection mechanisms.
  • instrumentation may include any type of data that may be collected, including performance related data such as processing times, throughput, performance counters, and the like.
  • the collected data may include function names, parameters passed, memory object names and contents, messages passed, message contents, registry settings, register contents, error flags, interrupts, or any other parameter or other collectable data regarding an application being traced.
  • execution environment may be used to refer to any type of supporting software used to execute an application.
  • An example of an execution environment is an operating system.
  • an "execution environment” may be shown separately from an operating system. This may be to illustrate a virtual machine, such as a process virtual machine, that provides various support functions for an application.
  • a virtual machine may be a system virtual machine that may include its own internal operating system and may simulate an entire computer system.
  • execution environment includes operating systems and other systems that may or may not have readily identifiable “virtual machines” or other supporting software.
  • references to "a processor” include multiple processors. In some cases, a process that may be performed by “a processor” may be actually performed by multiple processors on the same device or on different devices. For the purposes of this specification and claims, any reference to “a processor” shall include multiple processors which may be on the same device or different devices, unless expressly specified otherwise.
  • the subject matter may be embodied as devices, systems, methods, and/or computer program products. Accordingly, some or all of the subject matter may be embodied in hardware and/or in software (including firmware, resident software, micro-code, state machines, gate arrays, etc.) Furthermore, the subject matter may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system.
  • a computer-usable or computer- readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • the computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium.
  • computer readable media may comprise computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by an instruction execution system.
  • the computer-usable or computer-readable medium could be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, of otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
  • the embodiment may comprise program modules, executed by one or more systems, computers, or other devices.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • functionality of the program modules may be combined or distributed as desired in various embodiments.
  • Figure 1 is a diagram of an embodiment 100 showing an example user interface with an interactive graph and application code representing a selected code element.
  • a user may navigate the source code of an application by interacting with the graph, which may cause a window or other viewing mechanism to display the source code and other information.
  • the graph may show individual code elements and the relationships between code elements.
  • performance metrics may be displayed as part of the graph, and the performance metrics may help a programmer identify areas of code for inspection. For example, performance bottlenecks, poorly executing code, or other conditions may be highlighted by visually representing performance data through the graph elements, and a programmer may identify a code element based on the performance data for further analysis.
  • Embodiment 100 illustrates a user interface 102 that may contain a title bar 104, close window button 106, and other elements of a user interface window as an example user interface.
  • a graph 108 may be displayed within the user interface 102.
  • the graph may represent code elements and the relationships between code elements in an application.
  • the code elements may be represented as nodes 110 and the
  • code elements without relationships between code elements may be included, and such code elements may be presented as a single node element that may be
  • the graph 108 may represent an application, where each code element may be some unit of executable code that may be processed by a processor.
  • a code element may be a function, process, thread, subroutine, or some other block or group of executable code.
  • the code elements may be natural partitions or groupings that may be created by a programmer, such as function definitions or other such grouping.
  • one or more of the code elements may be arbitrarily defined or grouped, such as an embodiment where some number of lines of executable code may be treated as a code element. In one such example, each group of 10 lines of code may be identified as a code element. Other embodiments may have other mechanisms for identifying natural or arbitrary code elements.
  • the graph 108 may display both static and dynamic data regarding an application.
  • Static data may be any information that may be gathered through static code analysis, which may include control flow graphs, executable code elements, some relationships between code elements, or other information.
  • Dynamic data may be any information that may be gathered through tracing or monitoring of the application as the application executes. Dynamic data may include code element definitions, relationships between code elements, as well as performance metrics, operational statistics, or other measured or gathered data.
  • the graph 108 may present performance and operational data using visual representations of the data.
  • the size of an icon on a particular node may indicate a measurement of processing time, memory, or other resource that a code element may have consumed.
  • the thickness, color, length, animation, or other visual characteristic of an edge may represent various
  • performance factors such as the amount of data transmitted, the number of messages passed, or other factors.
  • the graph 108 may include results from offline or other analyses. For example, an analysis may be performed over a large number of data observations to identify specific nodes and edges that represent problem areas of an application. One such example may be bottleneck analysis that may identify a specific code element that may be causing a processing slowdown. Such results may be displayed on the graph 108 by highlighting the graph, enlarging the affected nodes, animating the nodes and edges, or some other visual cue.
  • Real time data may be displayed on a graph 108.
  • the real time data may include performance metrics that may be gathered during ongoing execution of the application, including displaying which code elements have been executed recently or the performance measured for one or more code elements.
  • a user may interact with the graph 108 to select an element 112.
  • the user may select the element 112 using a cursor, touchscreen, or other input mechanism.
  • when hovering over the selected element 112 or selecting the selected element 112 may cause a label 114 to be displayed.
  • the label 114 may include some information, such as library name, function name, or other identifier for the code element.
  • a code editing window 116 may be presented on the user interface 102.
  • the code editing window 116 may be a window having a close window button 118, scroll bar 122, and other elements. In some cases, the code editing window 116 may float over the graph 108 and a user may be able to move or relocate the code editing window 116.
  • Application code 120 may be displayed in the code editing window 116.
  • the application code 120 may be displayed with line numbers 124, and a code element 126 may be highlighted.
  • the application code 120 may be the source code representation of the application being tested.
  • the source code In languages with compiled code, the source code may have been compiled prior to execution. In languages with interpreted code, the source code may be consumed directly by a virtual machine, just in time compiler, or other mechanism.
  • the code editing window 116 may be part of an integrated development environment, which may include compilers, debugging mechanisms, execution management mechanisms, and other components.
  • An integrated development environment may be a suite of tools through which a programmer may develop, test, and deploy an application.
  • a highlighted code element 126 may be shown in the code editing window 116.
  • the highlighted code element 126 may represent the portion of the application represented by the selected element 112.
  • the highlighted code element 126 may illustrate a subset of many lines of code represented by the selected element 112.
  • One example may highlight the first line of many lines of code represented by the selected element 112.
  • the highlighted code element 126 may identify all of the code represented by the selected element 112.
  • a data display 130 may contain various additional information that may be useful for a programmer.
  • the data display 130 may include parameter values for memory objects used by the application.
  • the data display 130 may include performance data gathered from a tracer, which sometimes may be summary data or statistics.
  • Figure 2 illustrates an embodiment 200 showing a single device with an interactive graph for navigating application code.
  • Embodiment 200 is merely one example of an architecture where a graph may be rendered on a display, and a user may select nodes or edges of the graph to display portions of the underlying source code for the application.
  • the diagram of Figure 2 illustrates functional components of a system.
  • the component may be a hardware component, a software component, or a combination of hardware and software.
  • Some of the components may be application level software, while other components may be execution environment level components.
  • the connection of one component to another may be a close connection where two or more components are operating on a single hardware platform. In other cases, the connections may be made over network connections spanning long distances.
  • Each embodiment may use different hardware, software, and interconnection architectures to achieve the functions described.
  • Embodiment 200 illustrates a device 202 that may have a hardware platform 204 and various software components.
  • the device 202 as illustrated represents a conventional computing device, although other embodiments may have different configurations, architectures, or components.
  • the device 202 may be a server computer. In some embodiments, the device 202 may still also be a desktop computer, laptop computer, netbook computer, tablet or slate computer, wireless handset, cellular telephone, game console or any other type of computing device.
  • the hardware platform 204 may include a processor 208, random access memory 210, and nonvolatile storage 212.
  • the hardware platform 204 may also include a user interface 214 and network interface 216.
  • the random access memory 210 may be storage that contains data objects and executable code that can be quickly accessed by the processors 208.
  • the random access memory 210 may have a high-speed bus connecting the memory 210 to the processors 208.
  • the nonvolatile storage 212 may be storage that persists after the device 202 is shut down.
  • the nonvolatile storage 212 may be any type of storage device, including hard disk, solid state memory devices, magnetic tape, optical storage, or other type of storage.
  • the nonvolatile storage 212 may be read only or read/write capable.
  • the nonvolatile storage 212 may be cloud based, network storage, or other storage that may be accessed over a network connection.
  • the user interface 214 may be any type of hardware capable of displaying output and receiving input from a user.
  • the output display may be a graphical display monitor, although output devices may include lights and other visual output, audio output, kinetic actuator output, as well as other output devices.
  • Conventional input devices may include keyboards and pointing devices such as a mouse, stylus, trackball, or other pointing device.
  • Other input devices may include various sensors, including biometric input devices, audio and video input devices, and other sensors.
  • the network interface 216 may be any type of connection to another computer.
  • the network interface 216 may be a wired Ethernet connection.
  • Other embodiments may include wired or wireless connections over various communication protocols.
  • the software components 206 may include an operating system 218 on which various software components and services may operate.
  • An operating system may provide an abstraction layer between executing routines and the hardware components 204, and may include various routines and functions that communicate directly with various hardware components.
  • An execution environment 220 may manage the execution of an application 222.
  • the operations of the application 222 may be captured by a tracer 224, which may generate tracer data 226.
  • the tracer data 226 may identify code elements and relationships between the code elements, which a renderer 228 may use to produce a graph 230.
  • the graph 230 may be displayed on an interactive display device, such as a touchscreen device, a monitor and pointer device, or other physical user interface.
  • the graph 230 may be created in whole or in part from data derived from source code 232.
  • a static code analyzer 234 may generate a control flow graph 236 from which the renderer 228 may present the graph 230.
  • the graph 230 may contain data that may be derived from static sources, as well as data from dynamic or tracing sources.
  • a graph 230 may contain a control flow graph on which tracing data may be overlaid to depict various performance or other dynamic data.
  • Dynamic data may be any data that may be derived from measuring the operations of an application during execution, whereas static data may be derived from the source code 232 or other representation of the application without having to execute the application.
  • a user input analyzer 238 may receive selections or other user input from the graph 230.
  • the selections may identify specific code elements through the selection of one or more nodes, specific relationships through the selection of one or more edges, or other user input.
  • the selections may be made by picking displayed objects in the graph in an interactive manner.
  • other user interface mechanisms may be used to select objects represented by the graph. Such other user interface mechanisms may include command line interfaces or other mechanisms that may select objects.
  • a code display 242 may be presented on a user interface, and the code display 242 may display source code 240 that corresponds with the selection on the graph 230.
  • a selection on the graph 230 may be correlated with a line number or other component in source code 240 through a source code mapping 241.
  • the source code mapping 241 may contain hints, links, or other information that may map source code to the code elements represented by a node on the graph 230.
  • source code may be compiled or interpreted in different manners to yield executable code.
  • source code may be compiled into intermediate code, which may be compiled with a just in time compiler into executable code, which may be interpreted in a process virtual machine.
  • the compilers, interpreters, or other components may update the source code mapping 241.
  • Other embodiments may have other mechanisms to determine the appropriate source code for a given code element represented by a node on the graph 230.
  • the graph 230 and other elements may be part of an integrated development environment.
  • An integrated development environment may be a single application or group of tools through which a developer may create, edit, compile, debug, test, and execute an application.
  • an integrated development environment may be a suite of applications and components that may operate as a cohesive, single application. In other cases, such a system may have distinct applications or components.
  • An integrated development environment may include an editor 244 and compiler 246, as well as other components, such as a debugger, execution environment 220 and other components.
  • Some embodiments may incorporate an editor 244 with the code display 242.
  • the code display 242 may be presented using an editor 244, so that the user may be able to edit the code directly upon being displayed.
  • a programmer may use independent applications for developing applications.
  • the editor 244, compiler 246, and other components may be distinct applications that may be invoked using command line interfaces, graphical user interfaces, or other mechanisms.
  • Figure 3 illustrates an embodiment 300 showing multiple devices that may generate an interactive graph for navigating application code.
  • Embodiment 300 is merely one example of an architecture where some of the functions of embodiments 100 and 200 may be delivered across a network by disparate devices.
  • the diagram of Figure 3 illustrates functional components of a system.
  • the component may be a hardware component, a software component, or a combination of hardware and software.
  • Some of the components may be application level software, while other components may be execution environment level components.
  • the connection of one component to another may be a close connection where two or more components are operating on a single hardware platform. In other cases, the connections may be made over network connections spanning long distances.
  • Each embodiment may use different hardware, software, and interconnection architectures to achieve the functions described.
  • Embodiment 300 may represent one example where multiple devices may deliver an interactive graph to a development environment. Once the graph is presented, a user may interact with the graph to navigate through the application code.
  • Embodiment 300 may be similar in function to embodiment 200, but may illustrate an architecture where other devices may perform various functions. By having a dispersed architecture, certain devices may perform only a subset of the operations that may be performed by the single device in embodiment 200. Such an architecture may allow computationally expensive operations to be placed on devices with different capabilities, for example.
  • Embodiment 300 may also be able to create a graph that represents an application executing on multiple devices.
  • a set of execution systems 302 may contain a hardware platform 304, which may be similar to the hardware platform 204 of embodiment 200.
  • Each hardware platform 304 may support an execution environment 306, where an application 308 may execute and a tracer 310 may collect various tracer data, including performance data.
  • Many applications may execute on multiple devices. Some such applications may execute multiple instances of the application 308 in parallel, where the instances may be identical or nearly identical to each other. In other cases, some of the applications 308 may be different and may operate in serial or have some other process flow.
  • a network 312 may connect the various devices in embodiment 300.
  • the network 312 may be any type of communication network by which devices may be connected.
  • a data collection system 314 may collect and process tracer data.
  • the data collection system 314 may receive data from the tracer 310 and store the data in a database.
  • the data collection system 314 may perform some processing of the data in some cases.
  • the data collection system 314 may have a hardware platform 316, which may be similar to the hardware platform 204 of embodiment 200.
  • a data collector 318 may receive and store tracer data 320 from the various tracers 310.
  • Some embodiments may include a real time analyzer 322 which may process the tracer data 320 to generate real time information about the application 308. Such real time information may be displayed on a graph representing the application 308.
  • An offline analysis system 324 may analyze source code or other representations of the application 308 to generate some or all of a graph representing the application 308.
  • the offline analysis system 324 may execute on a hardware platform 326, which may be similar to the hardware platform 204 of embodiment 200.
  • the offline analysis system 324 may perform two different types of offline analysis.
  • the term offline analysis is merely a convention to differentiate between the real time or near real time analysis and data that may be provided by the data collection system 314. In some cases, the operations of the offline analysis system 324 may be performed in real time or near real time.
  • Offline tracer analysis 328 may be a function that performs in depth analyses of the tracer data 320. Such analyses may include correlation of multiple tracer runs, summaries of tracer data, or other analyses that may or may not be able to be performed in real time or near real time.
  • a static code analyzer 330 may analyze the source code 332 to create a control flow graph or other representation of the application 308. Such a representation may be displayed as part of an interactive graph from which a user may navigate the application and its source code.
  • a rendering system 334 may gather information relating to an interactive graph and create an image or other representation that may be displayed on a user's device.
  • the rendering system 334 may have a hardware platform 336, which may be similar to the hardware platform 204 of embodiment 200, as well as a graph constructor 338 and a renderer 340.
  • the graph constructor 338 may gather data from various sources and may construct a graph which the renderer 340 may generate as an image.
  • the graph constructor 338 may gather such data from the offline analysis system 324 as well as the data collection system 314.
  • the graph may be constructed from offline data analysis only, while in other embodiments, the graph may be constructed from only from data collected through tracing.
  • a development system 342 may represent a user's device where a graph may be displayed and application code may be navigated.
  • the development system 342 may include an integrated development environment 346.
  • the development system 342 may have a hardware platform 344, which may be similar to the hardware platform 204 of embodiment 200.
  • Several applications may execute on the hardware platform 344.
  • the various applications may be components of an integrated development environment 346, while in other cases, the applications may be independent applications that may or may not be integrated with other applications.
  • the applications may include a graph display 348, which may display a graph image created by the renderer 340.
  • the graph display 348 may include real time data, including performance data that may be generated by a real time analyzer 322.
  • a code display 350 may be presented that may include source code 352 represented by a selected graph element.
  • the applications may also include an editor 354 and compiler 356.
  • a communications engine 351 may gather data from the various sources so that a graph may be rendered.
  • the communications engine 351 may cause the graph constructor 338 to retrieve data from the static code analyzer 330, the offline tracer analysis 328, and the real time analyzer 322 so that the renderer 340 may create a graph image.
  • Figure 4 is a flowchart illustration of an embodiment 400 showing a method for displaying a graph and selecting and presenting code in response to a selection from the graph.
  • Embodiment 300 may illustrate a method that may be performed by the device 202 of embodiment 200 or the collective devices of embodiment 300.
  • Embodiment 400 may illustrate a method that includes static analysis 402, dynamic analysis 404, rendering 406, and code selection 408.
  • the method represented one method for navigating an application code through a visual representation of the application as a graph, which may have nodes representing code elements and edges representing relationships between the code elements.
  • the graph may be generated from static analysis 402, dynamic analysis 404, or a combination of both, depending on the application.
  • the static analysis 402 may include receiving source code in block 410 and performing static code analysis in block 412 to generate a control flow graph or other representation of the application.
  • a control flow graph may identify blocks of executable code and the relationships between them. Such relationships may include function calls or other relationships that may be expressed in the source code or may be derived from the source code.
  • the dynamic analysis 404 may include receiving the source code in block 414, preparing the source code for execution in block 416, and executing the application in block 418 from which the source code may be monitored in block 420 to generate tracer data.
  • the dynamic analysis 404 may identify code elements and relationships between code elements by observing the actual behavior of the code during execution.
  • the dynamic analysis 404 may include the operations to trace the application.
  • an application may be compiled or otherwise processed when being prepared for execution in block 416.
  • a tracer may be configured to gather various metrics about the application, which may include identifying code elements and relationships between code elements.
  • a graph generated from static code analysis may be different from a graph generated by dynamic analysis.
  • static code analysis may identify multiple relationships that may not actually be exercised during execution under normal circumstances or loading.
  • dynamic analysis may generate a graph that represents the actual portions of the application that were exercised.
  • the dynamic analysis 404 may include gathering performance data in block 424.
  • the performance data may be added to a graph to help the user understand where performance bottlenecks may occur and other performance related information.
  • the rendering 406 may include identifying code elements in block 426 and relationships may be identified in block 428.
  • the code elements and relationships may be identified using static code analysis, whereas other embodiments may identify code elements and relationships using dynamic analysis or a combination of static or dynamic analysis.
  • the graph may be rendered in block 430 once the code elements and relationships are identified.
  • performance data may be received in block 432 and the graph may be updated with performance data in block 434.
  • the process may loop back to block 430 to render the graph with updated performance data. Such a loop may update the graph with real time or near real time performance data.
  • a code element may be identified in block 438.
  • the code element may correspond with an element selected from the graph, which may be one or more nodes or edges of the graph.
  • a link to the source code from the selected element may be determined in block 440 and the source code may be displayed in block 442.
  • Any related data elements may be identified in block 444 and may be displayed in block 446.
  • the process may loop back to block 430 to update the graph with performance data.
  • the code may be updated in block 450, recompiled in block 452, and the execution may be restarted in block 454.
  • the process may return to blocks 410 and 414 to generate a new graph.
  • FIG. 5 is a diagram illustration of an example embodiment 500 where a breakpoint may be created from a selection.
  • Embodiment 500 illustrates an example user interface that may contain a list of objects associated with a selected element from a graph. From the list of objects, a breakpoint may be created and launched.
  • the example of embodiment 500 may be merely one example of a user interface through which a breakpoint may be set. Other embodiments may use many different user interface components to display information about objects related to a selection and to define and deploy a breakpoint. The example of embodiment 500 is merely one such embodiment.
  • a user interface 502 may contain a graph 504 that may have interactive elements.
  • the graph 504 may represent an application with nodes representing code elements and edges representing relationships between the code elements.
  • the graph 504 may be displayed with interactive elements such that a user may be able to select a node or edge and interact with source code, data objects, or other elements related to the selected element.
  • Node 506 is illustrated as being selected. In many cases, a highlighted visual effect may indicate that the node 506 is selected. Such a visual effect may be a visual halo, different color or size, animated blinking or movement, or some other effect.
  • An object window 508 may be presented in response to the selection of node 506.
  • the object window may include various objects related to the node, and in the example of embodiment 500, those objects may be object 510, which may be a variable X with a value of 495, and an object 512 "customer name" with a value of "John Doe".
  • the object 512 is a selected object 514. Based on the selected object 514, a breakpoint window 516 may be presented.
  • the breakpoint window 516 may include a user interface where a user may create an expression that defines a breakpoint condition. Once defined, the breakpoint may be stored and the execution may continue. When the breakpoint is satisfied, the execution may pause and allow the user to explore the state of the application at that point.
  • a user may select object 512 and may be presented with a menu.
  • the menu may be a drop down menu or pop up menu that may include options for browsing object values, viewing source code, setting breakpoints, or other options.
  • Figure 6 is a diagram illustration of an example embodiment 600 where objects may be explored by selecting an edge on a graph representing an application.
  • Embodiment 600 is merely one example of a user interface 602 where a user may select an edge and interact with objects relating to the edge.
  • the graph 604 may represent an application, where each node may represent a code element and the edges may represent relationships between the code elements.
  • the relationships may be any type of relationship, including observed relationships such as function calls, shared memory objects, or other relationships that may be inferred or expressed from tracer data. In other cases, the relationships may include relationships that may be derived from static code analysis, such as control flow elements.
  • a user may be presented with several options for how to interact with the edge 606.
  • the options may include viewing data objects, viewing performance elements, setting breakpoints, viewing source code, and other options.
  • a statistics window 608 may show some observed statistics as well as objects or data associated with the relationship.
  • Two statistics 610 and 612 may be examples of observed
  • the edge 606 may represent a relationship where messages and data may be passed between two code elements.
  • the statistics 610 and 612 may show the data volume passed between the code elements as well as the message volume or number of messages passed.
  • the statistics window 608 may include a set of objects passed between the code elements.
  • the objects 614, 616, and 618 may include
  • a data window 620 may be presented that show the values of the parameter
  • the values may be the data associated with "customer name” that was passed along the relationship represented by edge 606.
  • Embodiment 600 is merely one example of the interaction that a user may have with a relationship in an interactive graph. Based on the selection of the relationship, a breakpoint may be created that pauses execution when a condition is fulfilled regarding the relationship. For example, a breakpoint condition may be set to trigger when any data are passed across the relationship, when the performance observations cross a specific threshold, or some other factor.
  • Figure 7 is a flowchart illustration of an embodiment 700 showing a method for setting breakpoints from interactions with a graph that illustrates an application.
  • Embodiment 700 may be an example of a breakpoint that may be created from the user interactions of selecting a node as in embodiment 500 or selecting an edge as in embodiment 600 for a graph that illustrates an application.
  • graph data may be collected that represents code elements and relationships between code elements.
  • the graph data may include all code elements and all known relationships for a given
  • the graph data may include recently used code elements and relationships, which may be a subset of the complete corpus of code elements and relationships.
  • a graph may be displayed in block 704.
  • the graph may have various interactive elements, where a user may be able to select and interact with a node, edge, groups of nodes or edges, or other elements.
  • the user may be able to pick specific elements directly from the graph, such as with a cursor or touchscreen interface.
  • Such a selection may be received in block 706.
  • the selection may be a node or edge on the graph.
  • a code object related to the selected element may be identified in block 708.
  • the code object may be any memory object, code element, data, metadata, performance metric, or other item that may be associated with the code element.
  • a node may be selected in block 706, objects relating to the corresponding code element may be identified.
  • objects may include the source code, memory objects and other data accessed by the code element, as well as performance observations, such as time spent processing, memory usage, CPU usage, garbage collection performed, cache misses, or other observations.
  • the objects relating to the corresponding relationship may be identified.
  • Such objects may include the parameters and protocols passed across the relationship, the data values of those parameters, as well as performance observations which may include number of communications across the relationship, data values passed, amount of data passed, and other observations.
  • some embodiments may include objects related to the sending and receiving code elements for a selected relationship.
  • the objects retrieved may include all of the objects related to the relationship as well as all of the objects related to both code elements within the relationship.
  • Some such embodiments may filter the objects when displaying the objects such that only a subset of objects are displayed.
  • the identified objects or a subset of the identified objects may be displayed in block 710.
  • a breakpoint may be received in block 712.
  • a user interface may assist a user in creating a breakpoint using one or more of the objects identified in block 708.
  • Such a user interface may include selection mechanisms where a user may be able to pick an object and set a parameter threshold or some other expression relating to the object, and then the expression may be set as a breakpoint.
  • a user interface may allow a user to create a complex expression that may reference one or more of the various objects to set as a breakpoint.
  • the breakpoint may be set in block 714.
  • setting a breakpoint may involve transmitting the breakpoint condition to a tracer or other component, where the component may monitor the execution and evaluate the breakpoint condition to determine when to pause execution.
  • the monitoring component may be part of an execution environment.
  • execution may continue in block 716 until a breakpoint may be satisfied in block 718. Once the breakpoint is satisfied in block 718, execution may be paused in block 720.
  • the term satisfying the breakpoint in block 718 may be any mechanism by which the breakpoint conditions may be met.
  • the breakpoint may be defined in a negative manner, such that execution may continue so long as the breakpoint condition is not met.
  • the breakpoint may be defined in a positive manner, such that execution may continue as long as the breakpoint condition is met.
  • the code element in which the breakpoint was satisfied may be identified in block 722.
  • a breakpoint may be set by interacting with one node or edge representing one code element or a pair of code elements, and a breakpoint may be satisfied by a third code element.
  • the code objects related to the code element in which the breakpoint was satisfied may be identified in block 724 and displayed in block 726.
  • a user may interact with the objects to inspect and query the objects while the application is in a paused state. Once such examination has been completed, the user may elect to continue execution in block 728. The user may elect to continue execution with the same breakpoint in block 732 and the process may loop back to block 716 after resetting the breakpoint. The user may also elect to remove the breakpoint in block 732, and the breakpoint may be removed in block 734 and loop back to block 702. In block 728, the user may also elect not to continue, where the execution may stop in block 730.
  • Figures 8A, 8B, and 8C are diagram illustrations of a graph at a first time period 802, a second time period 804, and a third time period 806, respectively.
  • the sequence of time periods 802, 804, and 806 represent the progression of a highlighted code object that may traverse a graph.
  • Each step in the sequence of illustrated time periods 802, 804, and 806 may represent multiple time steps and sequences, and the illustration of time periods 802, 804, and 806 are selected to display certain sequences in abbreviated form.
  • An object may be highlighted as the object or related objects traverse through the graph.
  • An object may be a memory object that may be passed from one code element to another.
  • the code element may be transformed at each code element and emitted as a different object.
  • the object may be a processing pointer or execution pointer and the highlighting may illustrate a sequence of code elements that may be executed as part of the application.
  • the sequence of execution may be presented on a graph by highlighting code elements in sequence.
  • the relationships on a graph may also be highlighted.
  • Some embodiments may use animation to show the execution flow using movement of highlights or objects traversing the graph in sequence.
  • Some embodiments may show directional movement of an object across the graph using arrows, arrowheads, or other directional indicators.
  • One such directional indicator may illustrate an object, such as a circle or other shape that may traverse from one code element to another in animated form.
  • the highlighting may allow a user to examine how the object interacts with each code element.
  • the progression of an object through the graph may be performed on a step by step basis, where the advancement of an object may be paused at each relationship so that the user may be able to interact with the nodes and edges to examine various data objects.
  • the traversal of an object through the graph may be shown in real time in some embodiments, depending on the application.
  • the application may process objects so quickly that the human eye may not be capable of seeing the traversal or the graph may not be updated fast enough.
  • the traversal of the object through the graph may be shown at a slower playback speed.
  • the playback may be performed using historical or stored data which may or may not be gathered in real time.
  • an object may start at node 808 and traverse to node 810 and then to node 812. Such a traversal may reflect the condition where an object was processed at node 808, then the object or its effects were processed by nodes 810 and 812 in sequence.
  • the starting object may change, be transformed, or otherwise produce downstream effects.
  • the output of a code element may be tracked and illustrated as highlighted elements on the graph.
  • an incoming request may include a data element that may be processed by several code elements.
  • the data element may change and the processing may cause other code elements to begin processing.
  • Such changes or effects may be identified and highlighted on the graph as an aftereffect of the original object being monitored.
  • the highlighting in the sequence of graphs may reflect the location or operations performed on a specific memory object.
  • the code element that may consume the memory object may be highlighted as the memory object traverses the application.
  • the sequence of execution or processing may go from node 812 to node 814 to node 816 and back to node 812.
  • the sequence illustrated in period 804 may reflect a loop of execution control. In some cases, the loop may be performed many times while following an object.
  • the sequence of execution may go from node 812 to nodes 814 and 816 in parallel, then to node 818 and 820 in series.
  • the example of time period 806 may illustrate where a single object being tracked at node 812 may cause two or more code elements to be executed in parallel. The parallel operations may then converge in node 818.
  • Figure 9 is a flowchart illustration of an embodiment 900 showing a method for highlighting a graph for movement of an object through a graph.
  • the operations of embodiment 900 may produce highlights across a graph such as those illustrated in the time periods 802, 804, and 806.
  • Embodiment 900 may illustrate a method for displaying highlights on a graph, where the highlights may represent an object and its effects that may flow through an application.
  • embodiment 900 may be presented using live data, which may be gathered and displayed in real time or near real time.
  • embodiment 900 may be presented using stored or historical data that may be gathered during one time period and replayed at a later time period.
  • each step of a sequence that may update the graph may be paused to allow a user to visualize the transition from a previous state.
  • Such an embodiment may pause the sequence at each step and continue with a user input.
  • Such an embodiment may continue with the user pressing 'return' or some other mechanism to advance the sequence.
  • the sequence may pause for a period of time, such as 0.25 seconds, 0.5 seconds, one second, two seconds, or some other time, then continue to the nest step in the sequence.
  • Graph data representing the code elements and relationships of the code elements of an application may be received in block 902.
  • a graph may be displayed in block 904.
  • An object to be tracked may be received in block 906.
  • the object may be selected through a user interface.
  • the object may be selected by interacting with a graph and identifying an object through a user interface which may display one or more objects that may be tracked.
  • the object may be identified through a programmatic interface.
  • the location of the objects to be tracked may be identified in block 908.
  • the location may refer to a node or edge on the graph. In some cases, a single object or tracking condition may result in multiple nodes or edges being highlighted.
  • the highlights may be displayed on the graph in block 910.
  • the display may be paused in block 914 and the process may loop back to block 912. Once a condition to proceed to the next time interval has been met in block 912, the process may continue.
  • next locations for highlighting may be identified.
  • the next location may be a plurality of locations.
  • One example of such a case may be a condition where multiple processes or threads may be launched as a result of processing a first code element.
  • a highlight may be created in block 922 for the relationship connecting an old location to a new location.
  • the highlight may have a directional indicator, such as a graduated color, arrow, arrowhead, moving animation, or some other indicator.
  • Embodiment 900 illustrates a method where an older location may have a deprecated highlight, which is created in block 924.
  • the deprecated highlight may be less intense such that a user may be able to visualize the movement of an object or its effects from an old location to a new location.
  • the highlight may be removed for a location two generations old in block 926.
  • the graph may be updated with the changes to the highlighting in block 928.
  • the process may return to block 910 to display the graph with highlights.
  • Figure 10 is a diagram illustration of an embodiment 1000 showing a distributed system with an interactive graph.
  • Embodiment 1000 is an example of the components that may be deployed to collect and display tracer data, and to use filter to modify the visual representation of the data.
  • Embodiment 1000 illustrates two different mechanisms for deploying filters that may change a displayed graph.
  • filters may be applied just prior to rendering a graph.
  • filters may be applied by a tracer to transform raw tracer data from which a graph may be rendered.
  • Various embodiments may deploy one or both mechanisms for applying filters to the tracer data.
  • a tracer 1004 may collect tracer data 1006.
  • the tracer data 1006 may identify code elements and relationships between the code elements.
  • a dispatcher 1008 may transmit the tracer data across a network 1010 to a device 1030.
  • the device 1030 may be a standalone computer or other device with the processing capabilities to render and display a graph, along with user interface components to manipulate the graph.
  • the device 1030 may have a receiver 1012 that may receive the tracer data 1006.
  • a filter 1014 may transform the data prior to a renderer 1016 which may generate a graph 1020 that may be shown on a display 1018.
  • a user interface 1022 may collect input from a user from which a navigation manager 1024 may create, modify, and deploy filters 1014.
  • the filters may cause the tracer data 1006 to be rendered using different groupings,
  • the navigation manager 1024 may cause certain filters to be applied by the tracer 1004.
  • the navigation manager 1024 may receive input that may change how the tracer 1004 collects data, then create a filter that may express such changes.
  • the filters may include adding or removing data elements in the tracer data 1006, increasing or decreasing tracer frequency, causing the tracer 1004 to perform data manipulations and transformations, or other changes.
  • Some filters may be transmitted by a dispatcher 1026 across the network 1010 to a receiver 1028, which may pass the changes to the tracer 1004.
  • the filters may be applied at the tracer 1004 to change the tracer data 1006 for subsequent tracing operations.
  • the effects of such transformations may be subsequently viewed on the graph 1020.
  • FIGs 11 A and 1 IB are diagram illustrations of user interfaces showing graphs 1102 and 1104, respectively.
  • the sequence of graphs 1102 and 1104 illustrate a user experience where a filter may be applied to combine a group of graph elements into a single node.
  • the graph 1102 represents an application with two groups of code elements.
  • One group of code elements may be members of "hello world", while other code elements may be members of "disk library”.
  • Nodes 1106, 1108, 1110, 1112, and 1114 are illustrated as being members of "disk library", and each node are illustrated as shaded to represent their group membership.
  • Node 1114 is illustrated as being selected and may have a halo or other visual highlighting applied.
  • a user interface 1116 may be presented to the user.
  • the user interface 1116 may include many different filters, transformations, or other operations that may be performed. In many cases, such operations may use the selected node 1114 as an input to a selected operation. In the example of graph 1102, options may include combining nodes together, expanding the selected node into multiple nodes, viewing source code, displaying memory objects, and displaying performance data. These options are mere examples which may or may not be included on various embodiments. In some cases, additional operations may be present.
  • a selection 1118 may indicate that the user selects to combine nodes similar to the selected node 1114.
  • graph 1104 the nodes 1106, 1108, 1110, 1112, and 1114 are illustrated as combined into node 1130.
  • Graph 1104 illustrates the results of applying a combination filter to the data of graph 1102, where the combination filter combines all similar nodes into a single node.
  • Another user interface mechanism may be a legend 1120, which may show groups 1122 and 1124 as the "hello_world” and “disk_library” groups.
  • the shading of the groups shown in the legend may correspond to the shading applied to the various nodes in the graph.
  • the legend 1120 may operate as a user interface mechanism by making combine and expand operations available through icons 1126 and 1128. Such icons may be toggled to switch between combined and expanded modes.
  • edges connecting various nodes to the combined node 1130 may be highlighted.
  • edges 1132, 1134, and 1136 may be illustrated as dashed or have some other visual differentiation over other edges. Such highlighting may indicate that one, two, or more relationships may be represented by the highlighted edges.
  • the legend 1138 may illustrate groups 1140 and 1142 with icons 1144 and 1146. The icon 1144 may illustrate that the group is illustrated as combined, and may be toggled to change back to the graph 1102.
  • Figure 12 is a flowchart illustration of an embodiment 1200 showing a method for creating and applying filters to a displayed graph.
  • Embodiment 1200 may illustrate one method that may accomplish the transformation illustrated in Figures 11 A and 1 IB, as well as one method performed by the components of embodiment 1000.
  • Graph data representing code elements and relationships between code elements may be received in block 1202 and a graph may be displayed from the data in block 1204.
  • the process may loop back to block 1202 to display updated graph data.
  • the graph may reflect real time or near real time updates which may be collected from a tracer.
  • the updates may pause in block 1208.
  • the selected object may be highlighted in block 1210 and a menu may be presented in block 1212.
  • a user may select an operation from the menu in block 1214. If the operation does not change a filter in block 1216, the operation may be performed in block 1218.
  • some of the operations may include displaying source code for a selected element, displaying performance data related to the selected element, setting a breakpoint, or some other operation.
  • the filter definition may be received in block 1220.
  • the filter definition may be a predefined change to a filter which may be merely selected by a user.
  • a user may enter data, create expressions, or provide some other filter definition.
  • the filter may be applied to a graph renderer in block 1222 and the process may loop back to block 1202.
  • the filter may be transmitted to a tracer or other data source so that the effects of the filter may be viewed on the graph in block 1204.

Abstract

Code elements may be selected from a graph depicting an application. The graph may show code elements as nodes, with edges representing connections between the nodes. The connections may be messages passed between code elements, code flow relationships, or other relationships. When a code element or group of code elements are selected from the graph, the corresponding source code may be displayed. The code may be displayed in a code editor or other mechanism by which the code may be viewed, edited, and manipulated.

Description

Graph for Navigating Application Code
Cross Reference to Related Applications
[0001] This application claims benefit of and priority to United States Patent Application Serial Number 13/899,500 entitled "Interactive Graph for Navigating Application Code" filed 21 May 2013, United States Patent Application Serial Number 13/899,503 entitled "Setting Breakpoint Using an Interactive Graph
Representing an Application" filed 21 May 2013, United States Patent Application Serial Number 13/899,504 entitled "Animated Highlights in a Graph Representing an Application" filed 21 May 2013, United States Patent Application Serial Number 13/899,507 entitled "Filtering and Transforming a Graph Representing an
Application" filed 21 May 2013, each of which are hereby expressly incorporated by reference for all they teach and disclose.
Background
[0002] A programmer often examines and tests an application during development in many different manners. The programmer may run the application in various use scenarios, apply loading, execute test suites, or perform other operations on the application in order to understand how the application performs and to verify that the application operates as designed.
[0003] As the programmer identifies a problem area, the programmer may locate the problem area in source code and improve or change the code in that area. Such improvements may then be tested again to verify that the problem area was corrected.
Summary
[0004] Code elements may be selected from a graph depicting an application. The graph may show code elements as nodes, with edges representing connections between the nodes. The connections may be messages passed between code elements, code flow relationships, or other relationships. When a code element or group of code elements are selected from the graph, the corresponding source code may be displayed. The code may be displayed in a code editor or other mechanism by which the code may be viewed, edited, and manipulated.
[0005] Breakpoints may be set by selecting nodes on a graph depicting code elements and relationships between code elements. The graph may be derived from tracing data, and may reflect the observed code elements and the observed
interactions between code elements. In many cases, the graph may include performance indicators. The breakpoints may include conditions which depend on performance related metrics, among other things. In some embodiments, the nodes may reflect individual instances of specific code elements, while other embodiments may present nodes as the same code elements that may be utilized by different threads. The breakpoints may include parameters or conditions that may be thread- specific.
[0006] Relationships between code elements in an application may be selected and used during analysis and debugging of the application. An interactive graph may display code elements and the relationships between code elements, and a user may be able to select a relationship from the graph, whereupon details of the relationship may be displayed. The details may include data passed across the relationship, protocols used, as well as the frequency of communication, latency, queuing performance, and other performance metrics. A user may be able to set breakpoints, increase or decrease tracing options, or perform other actions from the relationship selection.
[0007] Highlighted objects may traverse a graph representing an application's code elements and relationships between those code elements. The highlighted objects may be animated to represent how the objects are processed in an application. The graph may represent code elements and relationships between the code elements, and the highlighting may be generated by tracing the application to determine the flow of the object through code elements and across relationships. A user may control the highlighted graph with a set of playback controls for playing through the sequence of highlights on the graph. The playback controls may include pause, rewind, forward, fast forward, and other controls. The controls may also include a step control which may step through small time increments. [0008] A graph representing code element and relationships between code elements may have elements combined to consolidate or collapse portions of the graph. A filter may operate between the graph data and a renderer to show the graph in different states. The graph may be implemented with an interactive user interface through which a user may select a node, edge, or groups of nodes and edges, then apply a filter or other transformation. When the user selects to combine a group of code elements, the combined elements may be displayed as a single element. In some cases, the single element may be presented with visual differentiation to show that the element is a collapsed or combined element, as opposed to a singleton element.
[0009] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Brief Description of the Drawings
[0010] In the drawings,
[0011] FIGURE 1 is a diagram illustration of an embodiment showing a user interface with an interactive graph representing code elements and relationships between the code elements.
[0012] FIGURE 2 is a diagram illustration of an embodiment showing a device that may display an interactive graph representing an application being traced.
[0013] FIGURE 3 is a diagram illustration of an embodiment showing a network environment with a visualization system with dispersed components.
[0014] FIGURE 4 is a flowchart illustration of an embodiment showing a method for displaying a graph and selecting source code to display in response to an interaction with the graph.
[0015] FIGURE 5 is a diagram illustration of an embodiment showing an example user interface with a breakpoint creation.
[0016] FIGURE 6 is a diagram illustration of an embodiment showing an example user interface with an edge selection. [0017] FIGURE 7 is a flowchart illustration of an embodiment showing a method for setting and using breakpoints.
[0018] FIGURES 8A, 8B, and 8C are diagram illustrations of an example embodiment showing a progression of highlighting placed on a graph representing an application.
[0019] FIGURE 9 is a flowchart illustration of an embodiment showing a method for highlighting a graph to trace an object's traversal across a graph.
[0020] FIGURE 10 is a diagram illustration of an embodiment showing a distributed system with an interactive graph and filters.
[0021] FIGURES 11A and 1 IB are diagram illustrations of an example embodiment showing a sequence of applying a filter to a graph.
[0022] FIGURE 12 is a flowchart illustration of an embodiment showing a method for creating and applying filters to a graph.
Detailed Description
Navigating source code through an interactive graph
[0023] A graph showing code elements and relationships between code elements may be used to select and display the code elements. The graph may represent both static and dynamic relationships between the code elements, including performance another metrics gathered while tracing the code elements during execution.
[0024] The interactive graph may have active input areas that may allow a user to select a node or edge of the graph, where the node may represent a code element and the edge may represent a relationship between code elements. After selecting the graph element, the corresponding source code or other representation of the code element may be displayed.
[0025] In some cases, the code elements may be displayed in a code editor, and a user may be able to edit the code and perform various functions on the code, including compiling and executing the code. The selected code elements may be displayed with highlighting or other visual cues so that a programmer may easily identify the precise line or lines of code represented by a node selected from the graph. [0026] A selection of an edge may identify two code elements, as each edge may link the two code elements. In such a case, some embodiments may display both code elements. Such code elements may both be displayed on a user interface simultaneously using different display techniques.
[0027] Other embodiments may display one of the code elements linked by an edge. Some such embodiments may present a user interface that may allow a user to select between the two code elements. In one such example, a user interface may be presented that queries the user to select an upstream or downstream element when the relationship has a notion of directionality. In another example, a user interface may merely show the individual lines of code associated with each node, then permit the user to select the line of code for further investigation and display.
[0028] The graph may contain information derived from static and dynamic analysis of an application. Static analysis may identify blocks of code as well as some relationships, such as a call tree or flow control relationships between code elements. Dynamic analysis may identify blocks of code by analyzing the code in an instrumented environment to detect blocks of code and how the code interacts during execution. Some embodiments may identify messages passed between code elements, function calls made from one code element to another, or other
relationships.
[0029] The graph may display summarized or other observations about the execution of the code. For example, a tracer may gather data about each code element, such as the amount of processor or memory resources consumed, the amount of garbage collection performed, number of cache misses, or any of many different performance metrics.
[0030] The graph may be displayed with some representation of performance metrics. For example, a code element may be displayed with a symbol, size, color, or other variation that may indicate a performance metric. In a simple example, the size of a symbol displaying a node may indicate the processing time consumed by the element. In another example, the width of an edge may represent the amount of data passed between code elements or the number of messages passed.
Breakpoints set through an interactive graph.
[0031] An interactive graph may serve as an input tool to select code elements from which breakpoints may be set. Objects relating to a selected code element may be displayed and a breakpoint may be created from one or more of the objects. In some cases, the breakpoints may be applied to the selected code element or to an object such that the breakpoint may be satisfied with a different code element.
[0032] The interactive graph may display code elements and relationships between code elements, and may visually illustrate the operation of an application. The graph may be updated in real time or near real time, and may show performance related metrics using various visual effects. A user may interact with the graph to identify specific code elements that may be of interest, then select the code elements to create a breakpoint.
[0033] Performance and other tracer data may be displayed with the selected code elements. Such data may include metrics, statistics, and other information relating to the specific code element. Such metrics may be, for example, resource consumption statistics for memory, processor, network, or other resources, comparisons between the selected code elements and other code elements, or other data. In some cases, the metrics may include parameters that may be incorporated into a breakpoint.
[0034] Because the graph may contain performance related data, a user may observe the operations and performance of an application prior to selecting where to insert a breakpoint. The combination of performance data and relationship structure of the application may greatly assist a user in selecting a meaningful location for a breakpoint. The relationship structure may help the user understand the application flow, as well as identify dependencies and bottlenecks that may not be readily apparent from the source code. The performance data may identify those application elements that may be performing above or below expectations. The combination of both the relationship structure and the performance data may be much more efficient and meaningful than other methods for identifying locations for breakpoints.
Selecting relationships as an input
[0035] A relationship between code elements may be selected from an interactive graph representing code elements as nodes and relationships between code elements as edges. The relationship may represent many different types of relationships, from function calls to shared memory objects. Once selected, the relationship may be used to set breakpoints, monitor communications across the relationship, increase or decrease tracing activities, or other operations. [0036] The relationship may be a message passing type of relationship, some of which may merely pass acknowledgements while others may include data objects, code elements, or other information. Some message passing relationships may be express messages, which may be managed with queues and other message passing components. Other message passing relationships may be implied messages, where program flow, data, or other elements may be passed from one code element to another.
[0037] The relationship may be a shared memory relationship, which may represent memory objects that may be written by one code element and read by another code element. Such a relationship may be identified when the first code element may take a write lock on the memory object and the second code element may be placed in a waiting state until the write lock may be released.
[0038] A breakpoint may be set using information related to the relationship. For example, the breakpoint may be set for messages passed across the selected relationship, such as when messages exceed a certain size, frequency, or contain certain parameters or parameter values.
Highlighting objects in an animated graph depicting an executing application.
[0039] Objects may be highlighted in an animated graph depicting an application being executed. The graph may contain nodes representing code elements and edges representing relationships between the code elements. The highlighted objects may represent data elements, requests, processes, or other objects that may traverse from one code element to another.
[0040] The highlighted objects may visually depict how certain components may progress through an application. The highlights may visually link the code elements together so that an application programmer may understand the flow of the application with respect to a particular object.
[0041] In one use scenario, an application that may process web requests may be visualized. An incoming request may be identified and highlighted and may be operated upon by several different code elements. The graph depicting the application may have a highlighted visual element, such as a bright circle, placed on a node representing the code element that receives the request. As the request is processed by subsequent code elements, the graph may show the highlighted bright circle traversing various relationships to be processed by other code elements. The request may be processed by multiple code elements, and the highlighted bright circle may be depicted over each of the code elements in succession.
[0042] The highlighted objects may represent a single data element, a group of data elements, or any other object that may be passed from one code element to another. In some cases, the highlighted object may be an executable code element that may be passed as a callback or other mechanism.
[0043] Callbacks may be executable code that may be passed as an argument to other code, which may be expected to execute the argument at a convenient time. An immediate invocation may be performed in the case of a synchronous callback, while asynchronous callbacks may be performed at some later time. Many languages may support callbacks, including C, C++, Pascal, JavaScript, Lua, Python, Perl, PHP, Ruby, C#, Visual Basic, Smalltalk, and other languages. In some cases, callbacks may be expressly defined and implemented, while in other cases callbacks may be simulated or have constructs that may behave as callbacks. Callbacks may be implemented in object oriented languages, functional languages, imperative languages, and other language types.
[0044] The animation of a graph may include playback controls that may pause, rewind, play, fast forward, and step through the sequence of code elements that an object may encounter. In many applications, the real time speed of execution is much faster than a human may be able to comprehend. A human user may be able to slow down or step through a sequence of operations so that the user can better understand how the application processes the highlighted object.
Combining and Expanding Elements on a Graph Representing an Application
[0045] A graph representing code elements and relationships between code elements of an application may be filtered to combine a group of elements to represent the group of elements as a single element on the graph. The graph may have interactive elements by which a user may select nodes to manipulate, and through which a filter may be applied.
[0046] The filters may operate as a transformation, translation, or other operation to prepare the graph data prior to rendering. The filters may include consolidating multiple nodes into a single node, expanding a single node into multiple nodes, applying highlights or other visual cues to the graph elements, adding performance data modifiers to graph elements, and other transformations and operations.
[0047] The filters may enable many different manipulations to be applied to tracer data. In many cases, a data stream may be transmitted to a rendering engine and the filters may be applied prior to rendering. Such cases may allow tracer data to be transmitted and stored in their entirety, while allowing customized views of the data to be shown to a user.
[0048] The term "filter" as used in this specification and claims refers to any transformation of data prior to display. A filter may remove data, concatenate data, summarize data, or perform other manipulations. In some cases, a filter may combine one data stream with another. A filter may also analyze the data in various manners, and apply highlights or other tags to the data so that a rendering engine may render a graph with different features. The term "filter" is meant to include any type of transformation that may be applied to data and is not meant to be limiting to a transformation where certain data may be excluded from a data stream.
[0049] The graph may have interactive elements by which various filters may be applied. The interactive elements may include selecting nodes, edges, or groups of nodes and edges to which a filter may be applied. In some cases, a legend or other interactive element may serve as a mechanism to identify groups of nodes to which filters may be applied.
[0050] When a filter is applied, some embodiments may apply different highlighting or other visual differentiations. Such highlighting may indicate that filters or transformations had been applied to the highlighted elements.
[0051] Throughout this specification and claims, the terms "profiler", "tracer", and "instrumentation" are used interchangeably. These terms refer to any mechanism that may collect data when an application is executed. In a classic definition, "instrumentation" may refer to stubs, hooks, or other data collection mechanisms that may be inserted into executable code and thereby change the executable code, whereas "profiler" or "tracer" may classically refer to data collection mechanisms that may not change the executable code. The use of any of these terms and their derivatives may implicate or imply the other. For example, data collection using a "tracer" may be performed using non-contact data collection in the classic sense of a "tracer" as well as data collection using the classic definition of
"instrumentation" where the executable code may be changed. Similarly, data collected through "instrumentation" may include data collection using non-contact data collection mechanisms.
[0052] Further, data collected through "profiling", "tracing", and
"instrumentation" may include any type of data that may be collected, including performance related data such as processing times, throughput, performance counters, and the like. The collected data may include function names, parameters passed, memory object names and contents, messages passed, message contents, registry settings, register contents, error flags, interrupts, or any other parameter or other collectable data regarding an application being traced.
[0053] Throughout this specification and claims, the term "execution environment" may be used to refer to any type of supporting software used to execute an application. An example of an execution environment is an operating system. In some illustrations, an "execution environment" may be shown separately from an operating system. This may be to illustrate a virtual machine, such as a process virtual machine, that provides various support functions for an application. In other embodiments, a virtual machine may be a system virtual machine that may include its own internal operating system and may simulate an entire computer system.
Throughout this specification and claims, the term "execution environment" includes operating systems and other systems that may or may not have readily identifiable "virtual machines" or other supporting software.
[0054] Throughout this specification, like reference numbers signify the same elements throughout the description of the figures.
[0055] In the specification and claims, references to "a processor" include multiple processors. In some cases, a process that may be performed by "a processor" may be actually performed by multiple processors on the same device or on different devices. For the purposes of this specification and claims, any reference to "a processor" shall include multiple processors which may be on the same device or different devices, unless expressly specified otherwise.
[0056] When elements are referred to as being "connected" or "coupled," the elements can be directly connected or coupled together or one or more intervening elements may also be present. In contrast, when elements are referred to as being "directly connected" or "directly coupled," there are no intervening elements present.
[0057] The subject matter may be embodied as devices, systems, methods, and/or computer program products. Accordingly, some or all of the subject matter may be embodied in hardware and/or in software (including firmware, resident software, micro-code, state machines, gate arrays, etc.) Furthermore, the subject matter may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this document, a computer-usable or computer- readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
[0058] The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media.
[0059] Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by an instruction execution system. Note that the computer-usable or computer-readable medium could be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, of otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
[0060] When the subject matter is embodied in the general context of computer-executable instructions, the embodiment may comprise program modules, executed by one or more systems, computers, or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
[0061] Figure 1 is a diagram of an embodiment 100 showing an example user interface with an interactive graph and application code representing a selected code element. A user may navigate the source code of an application by interacting with the graph, which may cause a window or other viewing mechanism to display the source code and other information.
[0062] The graph may show individual code elements and the relationships between code elements. In many embodiments, performance metrics may be displayed as part of the graph, and the performance metrics may help a programmer identify areas of code for inspection. For example, performance bottlenecks, poorly executing code, or other conditions may be highlighted by visually representing performance data through the graph elements, and a programmer may identify a code element based on the performance data for further analysis.
[0063] Embodiment 100 illustrates a user interface 102 that may contain a title bar 104, close window button 106, and other elements of a user interface window as an example user interface.
[0064] A graph 108 may be displayed within the user interface 102. The graph may represent code elements and the relationships between code elements in an application. The code elements may be represented as nodes 110 and the
relationships between code elements may be represented as edges 112. In some cases, code elements without relationships between code elements may be included, and such code elements may be presented as a single node element that may be
unconnected to other code elements
[0065] The graph 108 may represent an application, where each code element may be some unit of executable code that may be processed by a processor. In some cases, a code element may be a function, process, thread, subroutine, or some other block or group of executable code. In some cases, the code elements may be natural partitions or groupings that may be created by a programmer, such as function definitions or other such grouping. [0066] In other cases, one or more of the code elements may be arbitrarily defined or grouped, such as an embodiment where some number of lines of executable code may be treated as a code element. In one such example, each group of 10 lines of code may be identified as a code element. Other embodiments may have other mechanisms for identifying natural or arbitrary code elements.
[0067] The graph 108 may display both static and dynamic data regarding an application. Static data may be any information that may be gathered through static code analysis, which may include control flow graphs, executable code elements, some relationships between code elements, or other information.
[0068] Dynamic data may be any information that may be gathered through tracing or monitoring of the application as the application executes. Dynamic data may include code element definitions, relationships between code elements, as well as performance metrics, operational statistics, or other measured or gathered data.
[0069] The graph 108 may present performance and operational data using visual representations of the data. For example, the size of an icon on a particular node may indicate a measurement of processing time, memory, or other resource that a code element may have consumed. In another example, the thickness, color, length, animation, or other visual characteristic of an edge may represent various
performance factors, such as the amount of data transmitted, the number of messages passed, or other factors.
[0070] The graph 108 may include results from offline or other analyses. For example, an analysis may be performed over a large number of data observations to identify specific nodes and edges that represent problem areas of an application. One such example may be bottleneck analysis that may identify a specific code element that may be causing a processing slowdown. Such results may be displayed on the graph 108 by highlighting the graph, enlarging the affected nodes, animating the nodes and edges, or some other visual cue.
[0071] Real time data may be displayed on a graph 108. The real time data may include performance metrics that may be gathered during ongoing execution of the application, including displaying which code elements have been executed recently or the performance measured for one or more code elements.
[0072] A user may interact with the graph 108 to select an element 112. The user may select the element 112 using a cursor, touchscreen, or other input mechanism. In some embodiments, when hovering over the selected element 112 or selecting the selected element 112 may cause a label 114 to be displayed. The label 114 may include some information, such as library name, function name, or other identifier for the code element.
[0073] After selecting the element 112, a code editing window 116 may be presented on the user interface 102. The code editing window 116 may be a window having a close window button 118, scroll bar 122, and other elements. In some cases, the code editing window 116 may float over the graph 108 and a user may be able to move or relocate the code editing window 116.
[0074] Application code 120 may be displayed in the code editing window 116. The application code 120 may be displayed with line numbers 124, and a code element 126 may be highlighted.
[0075] The application code 120 may be the source code representation of the application being tested. In languages with compiled code, the source code may have been compiled prior to execution. In languages with interpreted code, the source code may be consumed directly by a virtual machine, just in time compiler, or other mechanism.
[0076] In some applications, the code editing window 116 may be part of an integrated development environment, which may include compilers, debugging mechanisms, execution management mechanisms, and other components. An integrated development environment may be a suite of tools through which a programmer may develop, test, and deploy an application.
[0077] A highlighted code element 126 may be shown in the code editing window 116. The highlighted code element 126 may represent the portion of the application represented by the selected element 112. In some cases, the highlighted code element 126 may illustrate a subset of many lines of code represented by the selected element 112. One example may highlight the first line of many lines of code represented by the selected element 112. In other cases, the highlighted code element 126 may identify all of the code represented by the selected element 112.
[0078] A data display 130 may contain various additional information that may be useful for a programmer. In some cases, the data display 130 may include parameter values for memory objects used by the application. In some cases, the data display 130 may include performance data gathered from a tracer, which sometimes may be summary data or statistics.
[0079] Figure 2 illustrates an embodiment 200 showing a single device with an interactive graph for navigating application code. Embodiment 200 is merely one example of an architecture where a graph may be rendered on a display, and a user may select nodes or edges of the graph to display portions of the underlying source code for the application.
[0080] The diagram of Figure 2 illustrates functional components of a system. In some cases, the component may be a hardware component, a software component, or a combination of hardware and software. Some of the components may be application level software, while other components may be execution environment level components. In some cases, the connection of one component to another may be a close connection where two or more components are operating on a single hardware platform. In other cases, the connections may be made over network connections spanning long distances. Each embodiment may use different hardware, software, and interconnection architectures to achieve the functions described.
[0081] Embodiment 200 illustrates a device 202 that may have a hardware platform 204 and various software components. The device 202 as illustrated represents a conventional computing device, although other embodiments may have different configurations, architectures, or components.
[0082] In many embodiments, the device 202 may be a server computer. In some embodiments, the device 202 may still also be a desktop computer, laptop computer, netbook computer, tablet or slate computer, wireless handset, cellular telephone, game console or any other type of computing device.
[0083] The hardware platform 204 may include a processor 208, random access memory 210, and nonvolatile storage 212. The hardware platform 204 may also include a user interface 214 and network interface 216.
[0084] The random access memory 210 may be storage that contains data objects and executable code that can be quickly accessed by the processors 208. In many embodiments, the random access memory 210 may have a high-speed bus connecting the memory 210 to the processors 208.
[0085] The nonvolatile storage 212 may be storage that persists after the device 202 is shut down. The nonvolatile storage 212 may be any type of storage device, including hard disk, solid state memory devices, magnetic tape, optical storage, or other type of storage. The nonvolatile storage 212 may be read only or read/write capable. In some embodiments, the nonvolatile storage 212 may be cloud based, network storage, or other storage that may be accessed over a network connection.
[0086] The user interface 214 may be any type of hardware capable of displaying output and receiving input from a user. In many cases, the output display may be a graphical display monitor, although output devices may include lights and other visual output, audio output, kinetic actuator output, as well as other output devices. Conventional input devices may include keyboards and pointing devices such as a mouse, stylus, trackball, or other pointing device. Other input devices may include various sensors, including biometric input devices, audio and video input devices, and other sensors.
[0087] The network interface 216 may be any type of connection to another computer. In many embodiments, the network interface 216 may be a wired Ethernet connection. Other embodiments may include wired or wireless connections over various communication protocols.
[0088] The software components 206 may include an operating system 218 on which various software components and services may operate. An operating system may provide an abstraction layer between executing routines and the hardware components 204, and may include various routines and functions that communicate directly with various hardware components.
[0089] An execution environment 220 may manage the execution of an application 222. The operations of the application 222 may be captured by a tracer 224, which may generate tracer data 226. The tracer data 226 may identify code elements and relationships between the code elements, which a renderer 228 may use to produce a graph 230. The graph 230 may be displayed on an interactive display device, such as a touchscreen device, a monitor and pointer device, or other physical user interface.
[0090] In some embodiments, the graph 230 may be created in whole or in part from data derived from source code 232. A static code analyzer 234 may generate a control flow graph 236 from which the renderer 228 may present the graph 230. [0091] In some embodiments, the graph 230 may contain data that may be derived from static sources, as well as data from dynamic or tracing sources. For example, a graph 230 may contain a control flow graph on which tracing data may be overlaid to depict various performance or other dynamic data. Dynamic data may be any data that may be derived from measuring the operations of an application during execution, whereas static data may be derived from the source code 232 or other representation of the application without having to execute the application.
[0092] A user input analyzer 238 may receive selections or other user input from the graph 230. The selections may identify specific code elements through the selection of one or more nodes, specific relationships through the selection of one or more edges, or other user input. In some cases, the selections may be made by picking displayed objects in the graph in an interactive manner. In some cases, other user interface mechanisms may be used to select objects represented by the graph. Such other user interface mechanisms may include command line interfaces or other mechanisms that may select objects.
[0093] When a selection for a specific node may be received by the user input analyzer 238, a code display 242 may be presented on a user interface, and the code display 242 may display source code 240 that corresponds with the selection on the graph 230.
[0094] A selection on the graph 230 may be correlated with a line number or other component in source code 240 through a source code mapping 241. The source code mapping 241 may contain hints, links, or other information that may map source code to the code elements represented by a node on the graph 230. In many programming environments, source code may be compiled or interpreted in different manners to yield executable code.
[0095] For example, source code may be compiled into intermediate code, which may be compiled with a just in time compiler into executable code, which may be interpreted in a process virtual machine. In each step through the execution phase, the compilers, interpreters, or other components may update the source code mapping 241. Other embodiments may have other mechanisms to determine the appropriate source code for a given code element represented by a node on the graph 230.
[0096] The graph 230 and other elements may be part of an integrated development environment. An integrated development environment may be a single application or group of tools through which a developer may create, edit, compile, debug, test, and execute an application. In some cases, an integrated development environment may be a suite of applications and components that may operate as a cohesive, single application. In other cases, such a system may have distinct applications or components. An integrated development environment may include an editor 244 and compiler 246, as well as other components, such as a debugger, execution environment 220 and other components.
[0097] Some embodiments may incorporate an editor 244 with the code display 242. In such an embodiment, the code display 242 may be presented using an editor 244, so that the user may be able to edit the code directly upon being displayed.
[0098] In some cases, a programmer may use independent applications for developing applications. In such cases, the editor 244, compiler 246, and other components may be distinct applications that may be invoked using command line interfaces, graphical user interfaces, or other mechanisms.
[0099] Figure 3 illustrates an embodiment 300 showing multiple devices that may generate an interactive graph for navigating application code. Embodiment 300 is merely one example of an architecture where some of the functions of embodiments 100 and 200 may be delivered across a network by disparate devices.
[00100] The diagram of Figure 3 illustrates functional components of a system. In some cases, the component may be a hardware component, a software component, or a combination of hardware and software. Some of the components may be application level software, while other components may be execution environment level components. In some cases, the connection of one component to another may be a close connection where two or more components are operating on a single hardware platform. In other cases, the connections may be made over network connections spanning long distances. Each embodiment may use different hardware, software, and interconnection architectures to achieve the functions described.
[00101] Embodiment 300 may represent one example where multiple devices may deliver an interactive graph to a development environment. Once the graph is presented, a user may interact with the graph to navigate through the application code.
[00102] Embodiment 300 may be similar in function to embodiment 200, but may illustrate an architecture where other devices may perform various functions. By having a dispersed architecture, certain devices may perform only a subset of the operations that may be performed by the single device in embodiment 200. Such an architecture may allow computationally expensive operations to be placed on devices with different capabilities, for example.
[00103] Embodiment 300 may also be able to create a graph that represents an application executing on multiple devices. A set of execution systems 302 may contain a hardware platform 304, which may be similar to the hardware platform 204 of embodiment 200. Each hardware platform 304 may support an execution environment 306, where an application 308 may execute and a tracer 310 may collect various tracer data, including performance data.
[00104] Many applications may execute on multiple devices. Some such applications may execute multiple instances of the application 308 in parallel, where the instances may be identical or nearly identical to each other. In other cases, some of the applications 308 may be different and may operate in serial or have some other process flow.
[00105] A network 312 may connect the various devices in embodiment 300. The network 312 may be any type of communication network by which devices may be connected.
[00106] A data collection system 314 may collect and process tracer data. The data collection system 314 may receive data from the tracer 310 and store the data in a database. The data collection system 314 may perform some processing of the data in some cases.
[00107] The data collection system 314 may have a hardware platform 316, which may be similar to the hardware platform 204 of embodiment 200. A data collector 318 may receive and store tracer data 320 from the various tracers 310. Some embodiments may include a real time analyzer 322 which may process the tracer data 320 to generate real time information about the application 308. Such real time information may be displayed on a graph representing the application 308.
[00108] An offline analysis system 324 may analyze source code or other representations of the application 308 to generate some or all of a graph representing the application 308. The offline analysis system 324 may execute on a hardware platform 326, which may be similar to the hardware platform 204 of embodiment 200.
[00109] The offline analysis system 324 may perform two different types of offline analysis. The term offline analysis is merely a convention to differentiate between the real time or near real time analysis and data that may be provided by the data collection system 314. In some cases, the operations of the offline analysis system 324 may be performed in real time or near real time.
[00110] Offline tracer analysis 328 may be a function that performs in depth analyses of the tracer data 320. Such analyses may include correlation of multiple tracer runs, summaries of tracer data, or other analyses that may or may not be able to be performed in real time or near real time.
[00111] A static code analyzer 330 may analyze the source code 332 to create a control flow graph or other representation of the application 308. Such a representation may be displayed as part of an interactive graph from which a user may navigate the application and its source code.
[00112] A rendering system 334 may gather information relating to an interactive graph and create an image or other representation that may be displayed on a user's device. The rendering system 334 may have a hardware platform 336, which may be similar to the hardware platform 204 of embodiment 200, as well as a graph constructor 338 and a renderer 340.
[00113] The graph constructor 338 may gather data from various sources and may construct a graph which the renderer 340 may generate as an image. The graph constructor 338 may gather such data from the offline analysis system 324 as well as the data collection system 314. In some embodiments, the graph may be constructed from offline data analysis only, while in other embodiments, the graph may be constructed from only from data collected through tracing.
[00114] A development system 342 may represent a user's device where a graph may be displayed and application code may be navigated. In some
embodiments, the development system 342 may include an integrated development environment 346.
[00115] The development system 342 may have a hardware platform 344, which may be similar to the hardware platform 204 of embodiment 200. Several applications may execute on the hardware platform 344. In some cases, the various applications may be components of an integrated development environment 346, while in other cases, the applications may be independent applications that may or may not be integrated with other applications. [00116] The applications may include a graph display 348, which may display a graph image created by the renderer 340. In some cases, the graph display 348 may include real time data, including performance data that may be generated by a real time analyzer 322. When a user interacts with the graph display 348, a code display 350 may be presented that may include source code 352 represented by a selected graph element. The applications may also include an editor 354 and compiler 356.
[00117] A communications engine 351 may gather data from the various sources so that a graph may be rendered. In some cases, the communications engine 351 may cause the graph constructor 338 to retrieve data from the static code analyzer 330, the offline tracer analysis 328, and the real time analyzer 322 so that the renderer 340 may create a graph image.
[00118] Figure 4 is a flowchart illustration of an embodiment 400 showing a method for displaying a graph and selecting and presenting code in response to a selection from the graph. Embodiment 300 may illustrate a method that may be performed by the device 202 of embodiment 200 or the collective devices of embodiment 300.
[00119] Other embodiments may use different sequencing, additional or fewer steps, and different nomenclature or terminology to accomplish similar functions. In some embodiments, various operations or set of operations may be performed in parallel with other operations, either in a synchronous or asynchronous manner. The steps selected here were chosen to illustrate some principles of operations in a simplified form.
[00120] Embodiment 400 may illustrate a method that includes static analysis 402, dynamic analysis 404, rendering 406, and code selection 408. The method represented one method for navigating an application code through a visual representation of the application as a graph, which may have nodes representing code elements and edges representing relationships between the code elements.
[00121] The graph may be generated from static analysis 402, dynamic analysis 404, or a combination of both, depending on the application.
[00122] The static analysis 402 may include receiving source code in block 410 and performing static code analysis in block 412 to generate a control flow graph or other representation of the application. A control flow graph may identify blocks of executable code and the relationships between them. Such relationships may include function calls or other relationships that may be expressed in the source code or may be derived from the source code.
[00123] The dynamic analysis 404 may include receiving the source code in block 414, preparing the source code for execution in block 416, and executing the application in block 418 from which the source code may be monitored in block 420 to generate tracer data. The dynamic analysis 404 may identify code elements and relationships between code elements by observing the actual behavior of the code during execution.
[00124] The dynamic analysis 404 may include the operations to trace the application. In many cases, an application may be compiled or otherwise processed when being prepared for execution in block 416. During execution in block 418, a tracer may be configured to gather various metrics about the application, which may include identifying code elements and relationships between code elements.
[00125] A graph generated from static code analysis may be different from a graph generated by dynamic analysis. In general, static code analysis may identify multiple relationships that may not actually be exercised during execution under normal circumstances or loading. In contrast, the dynamic analysis may generate a graph that represents the actual portions of the application that were exercised.
[00126] In many cases, the dynamic analysis 404 may include gathering performance data in block 424. The performance data may be added to a graph to help the user understand where performance bottlenecks may occur and other performance related information.
[00127] The rendering 406 may include identifying code elements in block 426 and relationships may be identified in block 428. In some embodiments, the code elements and relationships may be identified using static code analysis, whereas other embodiments may identify code elements and relationships using dynamic analysis or a combination of static or dynamic analysis.
[00128] The graph may be rendered in block 430 once the code elements and relationships are identified. In some embodiments, performance data may be received in block 432 and the graph may be updated with performance data in block 434.
[00129] When performance data are available, if no selection has been received in block 436, the process may loop back to block 430 to render the graph with updated performance data. Such a loop may update the graph with real time or near real time performance data.
[00130] When a selection is made in block 436, a code element may be identified in block 438. The code element may correspond with an element selected from the graph, which may be one or more nodes or edges of the graph. A link to the source code from the selected element may be determined in block 440 and the source code may be displayed in block 442. Any related data elements may be identified in block 444 and may be displayed in block 446.
[00131] If a user does not elect to edit the source code in block 448, the process may loop back to block 430 to update the graph with performance data.
[00132] If the user elects to edit the source code in block 448, the code may be updated in block 450, recompiled in block 452, and the execution may be restarted in block 454. The process may return to blocks 410 and 414 to generate a new graph.
[00133] Figure 5 is a diagram illustration of an example embodiment 500 where a breakpoint may be created from a selection. Embodiment 500 illustrates an example user interface that may contain a list of objects associated with a selected element from a graph. From the list of objects, a breakpoint may be created and launched.
[00134] The example of embodiment 500 may be merely one example of a user interface through which a breakpoint may be set. Other embodiments may use many different user interface components to display information about objects related to a selection and to define and deploy a breakpoint. The example of embodiment 500 is merely one such embodiment.
[00135] A user interface 502 may contain a graph 504 that may have interactive elements. The graph 504 may represent an application with nodes representing code elements and edges representing relationships between the code elements. The graph 504 may be displayed with interactive elements such that a user may be able to select a node or edge and interact with source code, data objects, or other elements related to the selected element.
[00136] Node 506 is illustrated as being selected. In many cases, a highlighted visual effect may indicate that the node 506 is selected. Such a visual effect may be a visual halo, different color or size, animated blinking or movement, or some other effect. [00137] An object window 508 may be presented in response to the selection of node 506. The object window may include various objects related to the node, and in the example of embodiment 500, those objects may be object 510, which may be a variable X with a value of 495, and an object 512 "customer name" with a value of "John Doe".
[00138] In the example of embodiment 500, the object 512 is a selected object 514. Based on the selected object 514, a breakpoint window 516 may be presented. The breakpoint window 516 may include a user interface where a user may create an expression that defines a breakpoint condition. Once defined, the breakpoint may be stored and the execution may continue. When the breakpoint is satisfied, the execution may pause and allow the user to explore the state of the application at that point.
[00139] In a typical deployment, a user may select object 512 and may be presented with a menu. The menu may be a drop down menu or pop up menu that may include options for browsing object values, viewing source code, setting breakpoints, or other options.
[00140] Figure 6 is a diagram illustration of an example embodiment 600 where objects may be explored by selecting an edge on a graph representing an application. Embodiment 600 is merely one example of a user interface 602 where a user may select an edge and interact with objects relating to the edge.
[00141] The graph 604 may represent an application, where each node may represent a code element and the edges may represent relationships between the code elements. The relationships may be any type of relationship, including observed relationships such as function calls, shared memory objects, or other relationships that may be inferred or expressed from tracer data. In other cases, the relationships may include relationships that may be derived from static code analysis, such as control flow elements.
[00142] When an edge 606 is selected, a user may be presented with several options for how to interact with the edge 606. The options may include viewing data objects, viewing performance elements, setting breakpoints, viewing source code, and other options. In the example of embodiment 600, a statistics window 608 may show some observed statistics as well as objects or data associated with the relationship. [00143] Two statistics 610 and 612 may be examples of observed
performance data that may be presented. In the example of embodiment 600, the edge 606 may represent a relationship where messages and data may be passed between two code elements. The statistics 610 and 612 may show the data volume passed between the code elements as well as the message volume or number of messages passed.
[00144] The statistics window 608 may include a set of objects passed between the code elements. The objects 614, 616, and 618 may include
"customer_name", "customer_address", and "last_login". By selecting object 614, a data window 620 may be presented that show the values of the parameter
"customer name". The values may be the data associated with "customer name" that was passed along the relationship represented by edge 606.
[00145] Embodiment 600 is merely one example of the interaction that a user may have with a relationship in an interactive graph. Based on the selection of the relationship, a breakpoint may be created that pauses execution when a condition is fulfilled regarding the relationship. For example, a breakpoint condition may be set to trigger when any data are passed across the relationship, when the performance observations cross a specific threshold, or some other factor.
[00146] Figure 7 is a flowchart illustration of an embodiment 700 showing a method for setting breakpoints from interactions with a graph that illustrates an application. Embodiment 700 may be an example of a breakpoint that may be created from the user interactions of selecting a node as in embodiment 500 or selecting an edge as in embodiment 600 for a graph that illustrates an application.
[00147] Other embodiments may use different sequencing, additional or fewer steps, and different nomenclature or terminology to accomplish similar functions. In some embodiments, various operations or set of operations may be performed in parallel with other operations, either in a synchronous or asynchronous manner. The steps selected here were chosen to illustrate some principles of operations in a simplified form.
[00148] In block 702, graph data may be collected that represents code elements and relationships between code elements. In some embodiments, the graph data may include all code elements and all known relationships for a given
application. In other embodiments, the graph data may include recently used code elements and relationships, which may be a subset of the complete corpus of code elements and relationships.
[00149] A graph may be displayed in block 704. In many cases, the graph may have various interactive elements, where a user may be able to select and interact with a node, edge, groups of nodes or edges, or other elements. In some cases, the user may be able to pick specific elements directly from the graph, such as with a cursor or touchscreen interface. Such a selection may be received in block 706. The selection may be a node or edge on the graph.
[00150] A code object related to the selected element may be identified in block 708. The code object may be any memory object, code element, data, metadata, performance metric, or other item that may be associated with the code element.
[00151] When a node may be selected in block 706, objects relating to the corresponding code element may be identified. Such objects may include the source code, memory objects and other data accessed by the code element, as well as performance observations, such as time spent processing, memory usage, CPU usage, garbage collection performed, cache misses, or other observations.
[00152] When an edge may be selected in block 706, the objects relating to the corresponding relationship may be identified. Such objects may include the parameters and protocols passed across the relationship, the data values of those parameters, as well as performance observations which may include number of communications across the relationship, data values passed, amount of data passed, and other observations.
[00153] When an edge may be selected in block 706, some embodiments may include objects related to the sending and receiving code elements for a selected relationship. In such embodiments, the objects retrieved may include all of the objects related to the relationship as well as all of the objects related to both code elements within the relationship. Some such embodiments may filter the objects when displaying the objects such that only a subset of objects are displayed.
[00154] The identified objects or a subset of the identified objects may be displayed in block 710.
[00155] A breakpoint may be received in block 712. In many cases, a user interface may assist a user in creating a breakpoint using one or more of the objects identified in block 708. Such a user interface may include selection mechanisms where a user may be able to pick an object and set a parameter threshold or some other expression relating to the object, and then the expression may be set as a breakpoint. In some embodiments, a user interface may allow a user to create a complex expression that may reference one or more of the various objects to set as a breakpoint.
[00156] The breakpoint may be set in block 714. In many embodiments, setting a breakpoint may involve transmitting the breakpoint condition to a tracer or other component, where the component may monitor the execution and evaluate the breakpoint condition to determine when to pause execution. In some embodiments, the monitoring component may be part of an execution environment.
[00157] By setting a breakpoint, execution may continue in block 716 until a breakpoint may be satisfied in block 718. Once the breakpoint is satisfied in block 718, execution may be paused in block 720.
[00158] The term satisfying the breakpoint in block 718 may be any mechanism by which the breakpoint conditions may be met. In some cases, the breakpoint may be defined in a negative manner, such that execution may continue so long as the breakpoint condition is not met. In other cases, the breakpoint may be defined in a positive manner, such that execution may continue as long as the breakpoint condition is met.
[00159] Once the execution has paused in block 720, the code element in which the breakpoint was satisfied may be identified in block 722. In some cases, a breakpoint may be set by interacting with one node or edge representing one code element or a pair of code elements, and a breakpoint may be satisfied by a third code element. The code objects related to the code element in which the breakpoint was satisfied may be identified in block 724 and displayed in block 726.
[00160] Once the objects are displayed, a user may interact with the objects to inspect and query the objects while the application is in a paused state. Once such examination has been completed, the user may elect to continue execution in block 728. The user may elect to continue execution with the same breakpoint in block 732 and the process may loop back to block 716 after resetting the breakpoint. The user may also elect to remove the breakpoint in block 732, and the breakpoint may be removed in block 734 and loop back to block 702. In block 728, the user may also elect not to continue, where the execution may stop in block 730. [00161] Figures 8A, 8B, and 8C are diagram illustrations of a graph at a first time period 802, a second time period 804, and a third time period 806, respectively. The sequence of time periods 802, 804, and 806 represent the progression of a highlighted code object that may traverse a graph. Each step in the sequence of illustrated time periods 802, 804, and 806 may represent multiple time steps and sequences, and the illustration of time periods 802, 804, and 806 are selected to display certain sequences in abbreviated form.
[00162] An object may be highlighted as the object or related objects traverse through the graph. An object may be a memory object that may be passed from one code element to another. In some cases, the code element may be transformed at each code element and emitted as a different object.
[00163] In another embodiment, the object may be a processing pointer or execution pointer and the highlighting may illustrate a sequence of code elements that may be executed as part of the application.
[00164] The sequence of execution may be presented on a graph by highlighting code elements in sequence. In some cases, the relationships on a graph may also be highlighted. Some embodiments may use animation to show the execution flow using movement of highlights or objects traversing the graph in sequence.
[00165] Some embodiments may show directional movement of an object across the graph using arrows, arrowheads, or other directional indicators. One such directional indicator may illustrate an object, such as a circle or other shape that may traverse from one code element to another in animated form.
[00166] The highlighting may allow a user to examine how the object interacts with each code element. In some embodiments, the progression of an object through the graph may be performed on a step by step basis, where the advancement of an object may be paused at each relationship so that the user may be able to interact with the nodes and edges to examine various data objects.
[00167] The traversal of an object through the graph may be shown in real time in some embodiments, depending on the application. In some cases, the application may process objects so quickly that the human eye may not be capable of seeing the traversal or the graph may not be updated fast enough. In such cases, the traversal of the object through the graph may be shown at a slower playback speed. In some such cases, the playback may be performed using historical or stored data which may or may not be gathered in real time.
[00168] At the first time period 802, an object may start at node 808 and traverse to node 810 and then to node 812. Such a traversal may reflect the condition where an object was processed at node 808, then the object or its effects were processed by nodes 810 and 812 in sequence.
[00169] In some embodiments, the starting object may change, be transformed, or otherwise produce downstream effects. In such cases, the output of a code element may be tracked and illustrated as highlighted elements on the graph. For example, an incoming request may include a data element that may be processed by several code elements. The data element may change and the processing may cause other code elements to begin processing. Such changes or effects may be identified and highlighted on the graph as an aftereffect of the original object being monitored.
[00170] In some embodiments, the highlighting in the sequence of graphs may reflect the location or operations performed on a specific memory object. In such embodiments, the code element that may consume the memory object may be highlighted as the memory object traverses the application.
[00171] In the second time period 804, the sequence of execution or processing may go from node 812 to node 814 to node 816 and back to node 812. The sequence illustrated in period 804 may reflect a loop of execution control. In some cases, the loop may be performed many times while following an object.
[00172] In the third time period 806, the sequence of execution may go from node 812 to nodes 814 and 816 in parallel, then to node 818 and 820 in series. The example of time period 806 may illustrate where a single object being tracked at node 812 may cause two or more code elements to be executed in parallel. The parallel operations may then converge in node 818.
[00173] Figure 9 is a flowchart illustration of an embodiment 900 showing a method for highlighting a graph for movement of an object through a graph. The operations of embodiment 900 may produce highlights across a graph such as those illustrated in the time periods 802, 804, and 806.
[00174] Other embodiments may use different sequencing, additional or fewer steps, and different nomenclature or terminology to accomplish similar functions. In some embodiments, various operations or set of operations may be performed in parallel with other operations, either in a synchronous or asynchronous manner. The steps selected here were chosen to illustrate some principles of operations in a simplified form.
[00175] Embodiment 900 may illustrate a method for displaying highlights on a graph, where the highlights may represent an object and its effects that may flow through an application. In some cases, embodiment 900 may be presented using live data, which may be gathered and displayed in real time or near real time. In other cases, embodiment 900 may be presented using stored or historical data that may be gathered during one time period and replayed at a later time period.
[00176] When the displayed data may be real time or near real time data, the operations of an application may be slowed down for viewing. In some cases, each step of a sequence that may update the graph may be paused to allow a user to visualize the transition from a previous state. Such an embodiment may pause the sequence at each step and continue with a user input. Such an embodiment may continue with the user pressing 'return' or some other mechanism to advance the sequence. In some embodiments, the sequence may pause for a period of time, such as 0.25 seconds, 0.5 seconds, one second, two seconds, or some other time, then continue to the nest step in the sequence.
[00177] Graph data representing the code elements and relationships of the code elements of an application may be received in block 902. A graph may be displayed in block 904.
[00178] An object to be tracked may be received in block 906. In many embodiments, the object may be selected through a user interface. In some cases, the object may be selected by interacting with a graph and identifying an object through a user interface which may display one or more objects that may be tracked. In some cases, the object may be identified through a programmatic interface.
[00179] The location of the objects to be tracked may be identified in block 908. The location may refer to a node or edge on the graph. In some cases, a single object or tracking condition may result in multiple nodes or edges being highlighted.
[00180] The highlights may be displayed on the graph in block 910.
[00181] If an input to advance to the next time interval has not been received in block 912, the display may be paused in block 914 and the process may loop back to block 912. Once a condition to proceed to the next time interval has been met in block 912, the process may continue.
[00182] In block 916, the next locations for highlighting may be identified. In some cases, the next location may be a plurality of locations. One example of such a case may be a condition where multiple processes or threads may be launched as a result of processing a first code element.
[00183] For each location in block 918, if the location is not new in block 920, the process may loop back to block 918.
[00184] If the location is a new location in block 920, a highlight may be created in block 922 for the relationship connecting an old location to a new location. The highlight may have a directional indicator, such as a graduated color, arrow, arrowhead, moving animation, or some other indicator.
[00185] Embodiment 900 illustrates a method where an older location may have a deprecated highlight, which is created in block 924. The deprecated highlight may be less intense such that a user may be able to visualize the movement of an object or its effects from an old location to a new location. After one time step in a deprecated state, the highlight may be removed for a location two generations old in block 926.
[00186] After processing each new location in block 918, the graph may be updated with the changes to the highlighting in block 928. The process may return to block 910 to display the graph with highlights.
[00187] Figure 10 is a diagram illustration of an embodiment 1000 showing a distributed system with an interactive graph. Embodiment 1000 is an example of the components that may be deployed to collect and display tracer data, and to use filter to modify the visual representation of the data.
[00188] Embodiment 1000 illustrates two different mechanisms for deploying filters that may change a displayed graph. In one mechanism, filters may be applied just prior to rendering a graph. In another mechanism, filters may be applied by a tracer to transform raw tracer data from which a graph may be rendered. Various embodiments may deploy one or both mechanisms for applying filters to the tracer data. [00189] While an application 1002 executes, a tracer 1004 may collect tracer data 1006. The tracer data 1006 may identify code elements and relationships between the code elements.
[00190] A dispatcher 1008 may transmit the tracer data across a network 1010 to a device 1030. The device 1030 may be a standalone computer or other device with the processing capabilities to render and display a graph, along with user interface components to manipulate the graph.
[00191] The device 1030 may have a receiver 1012 that may receive the tracer data 1006. A filter 1014 may transform the data prior to a renderer 1016 which may generate a graph 1020 that may be shown on a display 1018.
[00192] A user interface 1022 may collect input from a user from which a navigation manager 1024 may create, modify, and deploy filters 1014. The filters may cause the tracer data 1006 to be rendered using different groupings,
transformations, or other manipulations.
[00193] In some cases, the navigation manager 1024 may cause certain filters to be applied by the tracer 1004. The navigation manager 1024 may receive input that may change how the tracer 1004 collects data, then create a filter that may express such changes. The filters may include adding or removing data elements in the tracer data 1006, increasing or decreasing tracer frequency, causing the tracer 1004 to perform data manipulations and transformations, or other changes.
[00194] Some filters may be transmitted by a dispatcher 1026 across the network 1010 to a receiver 1028, which may pass the changes to the tracer 1004. The filters may be applied at the tracer 1004 to change the tracer data 1006 for subsequent tracing operations. The effects of such transformations may be subsequently viewed on the graph 1020.
[00195] Figures 11 A and 1 IB are diagram illustrations of user interfaces showing graphs 1102 and 1104, respectively. The sequence of graphs 1102 and 1104 illustrate a user experience where a filter may be applied to combine a group of graph elements into a single node.
[00196] The graph 1102 represents an application with two groups of code elements. One group of code elements may be members of "hello world", while other code elements may be members of "disk library". Nodes 1106, 1108, 1110, 1112, and 1114 are illustrated as being members of "disk library", and each node are illustrated as shaded to represent their group membership.
[00197] Node 1114 is illustrated as being selected and may have a halo or other visual highlighting applied. When node 1114 is selected, a user interface 1116 may be presented to the user.
[00198] The user interface 1116 may include many different filters, transformations, or other operations that may be performed. In many cases, such operations may use the selected node 1114 as an input to a selected operation. In the example of graph 1102, options may include combining nodes together, expanding the selected node into multiple nodes, viewing source code, displaying memory objects, and displaying performance data. These options are mere examples which may or may not be included on various embodiments. In some cases, additional operations may be present.
[00199] In the example of graph 1102, a selection 1118 may indicate that the user selects to combine nodes similar to the selected node 1114.
[00200] In graph 1104, the nodes 1106, 1108, 1110, 1112, and 1114 are illustrated as combined into node 1130. Graph 1104 illustrates the results of applying a combination filter to the data of graph 1102, where the combination filter combines all similar nodes into a single node.
[00201] Another user interface mechanism may be a legend 1120, which may show groups 1122 and 1124 as the "hello_world" and "disk_library" groups. The shading of the groups shown in the legend may correspond to the shading applied to the various nodes in the graph.
[00202] The legend 1120 may operate as a user interface mechanism by making combine and expand operations available through icons 1126 and 1128. Such icons may be toggled to switch between combined and expanded modes.
[00203] When the "disk library" group of nodes are combined in graph 1104, the edges connecting various nodes to the combined node 1130 may be highlighted. In the example of graph 1104, edges 1132, 1134, and 1136 may be illustrated as dashed or have some other visual differentiation over other edges. Such highlighting may indicate that one, two, or more relationships may be represented by the highlighted edges. [00204] The legend 1138 may illustrate groups 1140 and 1142 with icons 1144 and 1146. The icon 1144 may illustrate that the group is illustrated as combined, and may be toggled to change back to the graph 1102.
[00205] Figure 12 is a flowchart illustration of an embodiment 1200 showing a method for creating and applying filters to a displayed graph. Embodiment 1200 may illustrate one method that may accomplish the transformation illustrated in Figures 11 A and 1 IB, as well as one method performed by the components of embodiment 1000.
[00206] Other embodiments may use different sequencing, additional or fewer steps, and different nomenclature or terminology to accomplish similar functions. In some embodiments, various operations or set of operations may be performed in parallel with other operations, either in a synchronous or asynchronous manner. The steps selected here were chosen to illustrate some principles of operations in a simplified form.
[00207] Graph data representing code elements and relationships between code elements may be received in block 1202 and a graph may be displayed from the data in block 1204. When no selection may be made to the graph in block 1206, the process may loop back to block 1202 to display updated graph data. In the example of embodiment 1200, the graph may reflect real time or near real time updates which may be collected from a tracer.
[00208] When a selection may be made in block 1206, the updates may pause in block 1208. The selected object may be highlighted in block 1210 and a menu may be presented in block 1212. A user may select an operation from the menu in block 1214. If the operation does not change a filter in block 1216, the operation may be performed in block 1218. In previous examples, some of the operations may include displaying source code for a selected element, displaying performance data related to the selected element, setting a breakpoint, or some other operation.
[00209] When the selection is a change to a filter in block 1216, the filter definition may be received in block 1220. The filter definition may be a predefined change to a filter which may be merely selected by a user. In some cases, a user may enter data, create expressions, or provide some other filter definition.
[00210] The filter may be applied to a graph renderer in block 1222 and the process may loop back to block 1202. In some cases, the filter may be transmitted to a tracer or other data source so that the effects of the filter may be viewed on the graph in block 1204.
[00211] The foregoing description of the subject matter has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the subject matter to the precise form disclosed, and other modifications and variations may be possible in light of the above teachings. The embodiment was chosen and described in order to best explain the principles of the invention and its practical application to thereby enable others skilled in the art to best utilize the invention in various embodiments and various modifications as are suited to the particular use contemplated. It is intended that the appended claims be construed to include other alternative embodiments except insofar as limited by the prior art.

Claims

CLAIMS What is claimed is:
1. A method performed on a computer processor, said method comprising: displaying a graph having nodes representing code elements and edges representing relationships between said code elements, said relationships being functional relationships derived from monitoring execution of said code elements;
receiving a selection identifying a first node;
determining that said first node related to a first code element; and displaying source code related to said first code element.
2. The method of claim 1, said functional relationships being function calls between said code elements.
3. The method of claim 1, said functional relationships comprising shared memory.
4. The method of claim 1, said selection being made through an interactive element on said graph.
5. The method of claim 4, said graph comprising indicators relating to performance metrics gathered during execution of said code elements.
6. The method of claim 5, said graph being updated in at least near real time.
7. The method of claim 5, said indicators comprising visual indicators relating to said nodes.
8. The method of claim 7, said visual indicators comprising size differences between nodes.
9. The method of claim 7 said visual indicators comprising color differences between nodes.
10. The method of claim 4, said graph comprising directional indicators for a plurality of said edges.
11. A system comprising:
a communication engine that receives graph data, said graph data comprising nodes representing code elements and edges representing relationships between said code elements, said relationships being functional relationships;
a display; a graph renderer that causes said display to render a graph
representing at least a portion of said graph data;
a user input mechanism that receives a selection identifying a first node; and
a code display mechanism that displays source code related to said first node.
12. The system of claim 11, said communication engine receiving updates to said graph data and said graph renderer updating said graph based on said updates.
13. The system of claim 12, said user input mechanism comprising interactive elements placed on said graph.
14. The system of claim 13, said user input mechanism being a touch screen.
15. The system of claim 13 further comprising:
a tracer that monitors said code elements during execution and collects performance data related to said nodes, said tracer transmitting said performance data to said communication engine, at least a portion of said performance data being comprised in said graph data.
16. The system of claim 15, said graph renderer that further:
displays at least a portion of said performance data as visual indicators on said graph.
17. The system of claim 16, said visual indicators being applied to said nodes.
18. The system of claim 16, said visual indicators being applied to said edges.
19. The system of claim 18, said graph being a force directed graph.
Setting Breakpoints Using an Interactive Graph Representing an
Application
20. A method performed on a computer processor, said method comprising: displaying a graph having nodes representing code elements and edges representing relationships between said code elements;
receiving a selection identifying a first node, said first node being selected from an interactive selection mechanism on said graph, said first node representing a first code element; identifying a first object related to said first relationship;
displaying said first object; and
receiving a breakpoint definition for said first breakpoint.
21. The method of claim 20 further comprising:
causing said code elements to execute until said breakpoint has been satisfied.
22. The method of claim 21 further comprising:
identifying a plurality of objects related to said first code element; and displaying at least a portion of said plurality of objects.
23. The method of claim 21 further comprising:
receiving an update for said graph; and
displaying said graph with said update.
24. The method of claim 23, said update being received in at least near real time.
25. The method of claim 21, said breakpoint being satisfied when execution reaches a second code element.
26. The method of claim 25 further comprising:
displaying a highlight at said second code element when said breakpoint has been satisfied.
27. The method of claim 20 further comprising:
receiving graph data representing code elements and relationships between said code elements, said graph data being generated from a tracing system.
28. The method of claim 27 further comprising:
identifying a change to said graph data; and
transmitting said change to said tracing system.
29. A method performed on a computer processor, said method comprising: displaying a graph having nodes representing code elements and edges representing relationships between said code elements;
receiving a selection identifying a first edge;
identifying a first relationship represented by said first edge;
identifying a first code element and a second code element related to said first relationship; and displaying at least one object relating to said first relationship.
30. The method of claim 29, said relationships being functional relationships.
31. The method of claim 29, said functional relationships being function calls between said code elements.
32. The method of claim 29, said functional relationships comprising shared memory.
33. The method of claim 29, said functional relationships being determined through static code analysis.
34. The method of claim 29, said functional relationships being determined through dynamic monitoring of said code elements.
35. The method of claim 29, said selection being made through an interactive element on said graph.
Animated Highlights in a Graph Representing an Application
36. A method performed on a computer processor, said method comprising: receiving an object selection related to an application;
examining trace data for said application to identify said object interacting with a first code element in said application and to identify said object interacting with a second code element in said application, said first code element and said second code element being connected by a relationship in said application;
generating graph data for rendering a graph, said graph comprising nodes representing code elements and edges representing relationships between said code elements;
generating highlighting indicators comprising a first highlight for a first node, said first node representing said first code element and said first highlight representing said object interacting with said first code element; and
causing said graph data to be rendered as said graph and said highlight indicators to be displayed on said graph.
37. The method of claim 36 further comprising: generating a second highlight for a second node, said second node representing said second code element and said second highlight representing said object interacting with said second code element.
38. The method of claim 37 further comprising:
causing said first highlight to be displayed at a first time and said second highlight at a second time.
39. The method of claim 37 further comprising:
applying a third highlight to a first edge, said first edge representing said relationship between said first code element and said second code element.
40. The method of claim 39, said third highlight comprising a visual indication of directionality from said first node to said second node.
41. The method of claim 40, said visual indication of directionality comprising an arrowhead.
42. The method of claim 40, said visual indication of directionality comprising an animation.
43. The method of claim 36, said object comprising one of a group composed of:
a memory object;
a request; and
a code element.
44. A method performed on a computer processor, said method comprising: displaying a graph comprising nodes representing code elements for an application, said graph further comprising edges representing relationships between said code elements;
receiving an object selection representing an object being acted upon by a first code element and a second code element; and
displaying said object selection by applying a first highlight to a first node representing said first code element.
45. The method of claim 44 further comprising:
applying a second highlight to a second node representing said second code element.
46. The method of claim 45 further comprising: applying a third highlight a first edge representing a relationship between said first code element and said second code element.
47. The method of claim 46 further comprising:
receiving graph data from a first device, said graph data representing said nodes and said edges;
transmitting said object selection to said first device; and
receiving highlighting data from said first device, said highlighting data identifying said first highlight, said second highlight, and said third highlight.
48. The method of claim 47 further comprising:
displaying said first highlight at a first time instance; and
displaying said second highlight at a second time instance.
49. The method of claim 48, said first time instance and said second time instance being controllable by a user.
50. The method of claim 49 further comprising:
receiving an input from a user and causing said graph to advance to said second time instance based on said input.
51. A highlighted graph rendered by a computer device, said animated graph comprising:
a plurality of nodes, each of said nodes representing code elements for an application;
a plurality of edges, each of said edges representing relationships between said code element in said application;
a first highlight representing an object being operated upon by a first code element, said first highlight being applied to a first node representing said first code element.
52. The highlighted graph of claim 51 further comprising:
a second highlight representing said object being operated upon by a second code element, said second highlight being applied to a second node representing said second code element.
53. The highlighted graph of claim 52, said second highlight being applied to said graph after said first highlight when said first code element operates on said object before said second code element.
54. The highlighted graph of claim 52 further comprising:
a third highlight representing a relationship between said first code element and said second code element, said third highlight being applied to a first edge connecting said first node and said second node.
55. The highlighted graph of claim 54 further comprising:
a directional indicator that indicates flow from said first node to said second node along said first edge.
56. The highlighted graph of claim 55, said directional indicator comprising an arrowhead.
57. The highlighted graph of claim 55, said directional indicator being an animated indicator.
Filtering and Transforming a Graph Representing an Application
58. A method performed by a computer processor, said method comprising: receiving a set of graph data comprising nodes and edges, said nodes corresponding to code elements and said edges corresponding to relationships between said code elements, said graph data comprising nodes representing individual instances of said code elements;
receiving a filter definition, said filter definition defining a group of said code elements and said relationships; and
displaying said set of graph data using said filter definition on a display such that said nodes and edges are grouped according to said filter definition, said set of graph data being displayed as an interactive graph.
59. The method of claim 58, said filter definition comprising representing a first set of said code elements as a combined single node.
60. The method of claim 59 further comprising:
displaying said combined single node using a first visual differentiator applied to said combined single node, said first visual differentiator being different from a second node, said second node not being a combined node.
61. The method of claim 59 further comprising:
displaying said combined single node using a first visual differentiator applied to a group of edges connected to said combined single node, said first visual differentiator being different from a second edge, said second edge connecting a first node and a second node, said first node and said second node not being a combined node.
62. The method of claim 59, said first set of code elements being different instances of a single code element.
63. The method of claim 62, said different instances being instances of said single code element operating on different processors.
64. The method of claim 62, said different instances being instances of said single code element operating on a single processor.
65. The method of claim 59, said first set of code elements being members of a common code base.
66. The method of claim 65, said common code base being a single library.
67. The method of claim 65, said common code base being a common source code file.
68. The method of claim 59, said filter definition being initiated from an interaction with said interactive graph.
69. The method of claim 68, said interaction comprising selecting a first node, said first node being a member of said group.
70. The method of claim 68, said interaction comprising selecting an item from a legend, said item being related to said group.
71. The method of claim 59 further comprising:
receiving a second filter definition, said second filter definition defining a second group of said code elements and said relationships; and displaying said set of graph data using said filter definition and said second filter definition.
72. A system comprising:
a user interface comprising a display and a user input mechanism; a processor that:
receives a set of graph data comprising nodes and edges, said nodes corresponding to code elements and said edges corresponding to relationships between said code elements, said graph data comprising nodes representing individual instances of said code elements; receives a filter definition, said filter definition defining a group of said code elements and said relationships; and
displays said set of graph data using said filter definition on a display such that said nodes and edges are grouped according to said filter definition, said set of graph data being displayed as an interactive graph.
73. The system of claim 72, said filter definition comprising representing a first set of said code elements as a combined single node.
74. The system of claim 73, said processor that further:
displays said combined single node using a first visual differentiator applied to said combined single node, said first visual differentiator being different from a second node, said second node not being a combined node.
75. The system of claim 74, said processor that further:
displays said combined single node using a first visual differentiator applied to a group of edges connected to said combined single node, said first visual differentiator being different from a second edge, said second edge connecting a first node and a second node, said first node and said second node not being a combined node.
76. The system of claim 73, said first set of code elements being different instances of a single code element.
77. The system of claim 76, said different instances being instances of said single code element operating on different processors.
EP14801342.8A 2013-05-21 2014-01-15 Graph for navigating application code Withdrawn EP3000041A4 (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US13/899,500 US8990777B2 (en) 2013-05-21 2013-05-21 Interactive graph for navigating and monitoring execution of application code
US13/899,504 US9734040B2 (en) 2013-05-21 2013-05-21 Animated highlights in a graph representing an application
US13/899,503 US20140189650A1 (en) 2013-05-21 2013-05-21 Setting Breakpoints Using an Interactive Graph Representing an Application
US13/899,507 US20140189652A1 (en) 2013-05-21 2013-05-21 Filtering and Transforming a Graph Representing an Application
PCT/US2014/011733 WO2014189553A1 (en) 2013-05-21 2014-01-15 Graph for navigating application code

Publications (2)

Publication Number Publication Date
EP3000041A1 true EP3000041A1 (en) 2016-03-30
EP3000041A4 EP3000041A4 (en) 2017-05-10

Family

ID=51933928

Family Applications (1)

Application Number Title Priority Date Filing Date
EP14801342.8A Withdrawn EP3000041A4 (en) 2013-05-21 2014-01-15 Graph for navigating application code

Country Status (3)

Country Link
EP (1) EP3000041A4 (en)
CN (1) CN105229617A (en)
WO (1) WO2014189553A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930526B (en) * 2016-05-30 2019-06-14 深圳市华傲数据技术有限公司 The visible processing method and device of data
US11948116B2 (en) 2017-09-22 2024-04-02 1Nteger, Llc Systems and methods for risk data navigation
CN110321117A (en) * 2018-03-29 2019-10-11 优视科技(中国)有限公司 Application processing method, device and server
CN111190583B (en) * 2019-12-31 2021-10-22 华为技术有限公司 Associated conflict block presenting method and equipment
WO2021217660A1 (en) * 2020-04-30 2021-11-04 深圳中砼物联网科技有限公司 Method for realizing graphical code-free development of user interface, and computer device and storage medium
CN113590103B (en) * 2020-04-30 2024-02-02 广东中砼物联网科技有限公司 Method, computer device and storage medium for realizing graphical code-free development user interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243857B1 (en) * 1998-02-17 2001-06-05 Nemasoft, Inc. Windows-based flowcharting and code generation system
US6792595B1 (en) * 1998-12-23 2004-09-14 International Business Machines Corporation Source editing in a graphical hierarchical environment
US20050177820A1 (en) * 2003-12-19 2005-08-11 International Business Machines Corporation Method and system for debugging business process flow
US20120137240A1 (en) * 2010-11-30 2012-05-31 Uwe Krueger Systems and methods to display dependencies within a graph of grouped elements

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IES20010131A2 (en) * 1999-12-20 2001-05-30 Headway Res Ltd System and method for computer-aided graph-based dependency analysis
US7174536B1 (en) * 2001-02-12 2007-02-06 Iowa State University Research Foundation, Inc. Integrated interactive software visualization environment
US7167850B2 (en) * 2002-10-10 2007-01-23 Ab Initio Software Corporation Startup and control of graph-based computation
CN101036127A (en) * 2004-10-04 2007-09-12 松下电器产业株式会社 Source code inspection device, method, program, and recording medium
US8640086B2 (en) * 2006-12-29 2014-01-28 Sap Ag Graphical user interface system and method for presenting objects
US8296744B2 (en) * 2008-10-03 2012-10-23 Microsoft Corporation Tree-based directed graph programming structures for a declarative programming language
US8359584B2 (en) * 2009-12-18 2013-01-22 Microsoft Corporation Debugging from a call graph
RU2454714C1 (en) * 2010-12-30 2012-06-27 Закрытое акционерное общество "Лаборатория Касперского" System and method of increasing efficiency of detecting unknown harmful objects
US8745591B2 (en) * 2011-10-19 2014-06-03 Microsoft Corporation Data flow visualization and debugging

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243857B1 (en) * 1998-02-17 2001-06-05 Nemasoft, Inc. Windows-based flowcharting and code generation system
US6792595B1 (en) * 1998-12-23 2004-09-14 International Business Machines Corporation Source editing in a graphical hierarchical environment
US20050177820A1 (en) * 2003-12-19 2005-08-11 International Business Machines Corporation Method and system for debugging business process flow
US20120137240A1 (en) * 2010-11-30 2012-05-31 Uwe Krueger Systems and methods to display dependencies within a graph of grouped elements

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BITA MAZLOOM ET AL: "Dataflow Tomography", ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, vol. 9, no. 1, March 2012 (2012-03-01), 2 Penn Plaza, Suite 701 New York NY 10121-0701 USA, pages 1 - 26, XP055358738, ISSN: 1544-3566, DOI: 10.1145/2133382.2133385 *
JEFFREY S VETTER ET AL: "Real-Time Performance Monitoring, Adaptive Control, and Interactive Steering of Computational Grids", INTERNATIONAL JOURNAL OF HIGH PERFORMANCE COMPUTING APPLICATIONS, vol. 14, no. 4, 2000, US, pages 357 - 366, XP055326516, ISSN: 1094-3420, DOI: 10.1177/109434200001400407 *
LIENHARD A ET AL: "Taking an object-centric view on dynamic information with object flow analysis", COMPUTER LANGUAGES, SYSTEMS & STRUCTURES, PERGAMON, AMSTERDAM, NL, vol. 35, no. 1, April 2009 (2009-04-01), pages 63 - 79, XP025431469, ISSN: 1477-8424, [retrieved on 20080604], DOI: 10.1016/J.CL.2008.05.006 *
See also references of WO2014189553A1 *

Also Published As

Publication number Publication date
EP3000041A4 (en) 2017-05-10
WO2014189553A1 (en) 2014-11-27
CN105229617A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
US9658943B2 (en) Interactive graph for navigating application code
US9734040B2 (en) Animated highlights in a graph representing an application
US20140189650A1 (en) Setting Breakpoints Using an Interactive Graph Representing an Application
US20140189652A1 (en) Filtering and Transforming a Graph Representing an Application
US9437024B2 (en) Transformation function insertion for dynamically displayed tracer data
US9772927B2 (en) User interface for selecting tracing origins for aggregating classes of trace data
US9323863B2 (en) Highlighting of time series data on force directed graph
US20150347628A1 (en) Force Directed Graph With Time Series Data
EP3213217B1 (en) Historical control flow visualization in production diagnostics
US9754396B2 (en) Event chain visualization of performance data
US8887138B2 (en) Debugging in a dataflow programming environment
US20140019879A1 (en) Dynamic Visualization of Message Passing Computation
US20130232433A1 (en) Controlling Application Tracing using Dynamic Visualization
EP3000041A1 (en) Graph for navigating application code
EP3622404B1 (en) Presenting differences between code entity invocations
US10592397B2 (en) Representing a test execution of a software application using extended reality
EP3921734B1 (en) Using historic execution data to visualize tracepoints
EP3528126B1 (en) Representing a test execution of a software application using extended reality
US20230091719A1 (en) Code execution recording visualization technique
Singh SOFTVIZ, a Step Forward

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20151120

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

AX Request for extension of the european patent

Extension state: BA ME

DAX Request for extension of the european patent (deleted)
RIC1 Information provided on ipc code assigned before grant

Ipc: G06F 9/44 20060101AFI20161212BHEP

Ipc: G06F 11/36 20060101ALI20161212BHEP

A4 Supplementary search report drawn up and despatched

Effective date: 20170410

RIC1 Information provided on ipc code assigned before grant

Ipc: G06F 9/44 20060101AFI20170404BHEP

Ipc: G06F 11/36 20060101ALI20170404BHEP

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20171109