Intermediate Value Visualization Across Multiple Code Executions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing debugging tools and methods lack the ability to provide organized visibility into intermediate values generated by code during execution, making it difficult to understand and correct code behavior, especially when dealing with multiple input sets.

Innovation Solution

A computer-implemented mechanism that generates and visualizes a multi-dimensional array of intermediate values, allowing users to scan and group input sets based on common characteristics and output values, with the option to label these with natural language for better understanding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If debugging tools are used to verify code operation, then code correctness can be confirmed, but intermediate values remain unseen and inaccessible

Engineering Contradiction:
Improvevisibility of intermediate valuesVSAvoidaccess to intermediate execution states
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent introduces an intermediary visualization layer that captures and displays intermediate values generated during code execution. This mediator component intercepts the execution flow, extracts intermediate values, and presents them in a structured format without altering the original code behavior, thereby making hidden intermediate states visible to users.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent adds a new dimension of observation by visualizing intermediate values in a multi-dimensional array format. This transformation converts the traditionally linear, hidden execution states into a spatially organized visualization that can be observed from multiple perspectives, enabling users to see patterns and relationships across different execution paths.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Adaptability or versatility

If multiple input sets are processed to understand code behavior, then comprehensive code understanding is achieved, but the complexity of tracking intermediate values increases

Engineering Contradiction:
Improvecode understanding across multiple scenariosVSAvoidtracking and organizing intermediate values
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the complex tracking task by organizing intermediate values from multiple input sets into distinct rows of a multi-dimensional array. Each execution scenario is separated into its own row, with intermediate values systematically arranged in columns, making it easier to compare and analyze different execution paths without being overwhelmed by complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent merges multiple execution traces into a unified multi-dimensional array structure. By combining intermediate values from different input sets into a single organized visualization, the system maintains adaptability across multiple scenarios while reducing the perceived complexity through consistent structural patterns and grouping mechanisms.

Inventive Principle:
Principle #5Merging (Combining)

3Measurement precision

If intermediate values are visualized in detail, then debugging precision is improved, but the time required to analyze execution data increases

Engineering Contradiction:
Improvedebugging accuracyVSAvoidanalysis time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent transforms detailed intermediate value data into a multi-dimensional visual array that preserves debugging precision while enabling faster analysis. The spatial organization allows users to grasp execution patterns at a glance rather than sequentially examining raw data, maintaining detail visibility while reducing cognitive processing time.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Solution Approach 2:

The patent employs visual encoding techniques where different colors or visual indicators represent different types of intermediate values or execution states. This visual differentiation allows users to quickly identify patterns, anomalies, and relationships in the data without reading each value individually, thereby maintaining precision while reducing analysis time.

Inventive Principle:
Principle #32Color changes

Data Source

PatentUS12530176B2Generation of multi-dimensional array of intermediate values in multiple code executions
Publication Date: 2026.01.20 MICROSOFT TECHNOLOGY LICENSING LLC
  • US12530176B2 patent drawing
  • US12530176B2 patent drawing
  • US12530176B2 patent drawing

AI summary

A mechanism to show how code is operating with different sets of input. After accessing the code that is to be evaluated along with the multiple input sets for that code, the computing system generates a multi-dimensional array of values. This is done by, for each of at least some of the multiple input sets, generating a corresponding intermediate value set of one or more intermediate values that are generated as the code operates upon the corresponding input set to generate a corresponding output value set. Then, the computing system causes a multi-dimensional array of values to be visualized using a multi-dimensional representation. In this multi-dimensional visualization, input sets are represented in at least one dimension against at least one intermediate value of the corresponding intermediate value set in at least another dimension.