Context Debugger for SAP Web Dynpro Runtime Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers face challenges in debugging and verifying the context hierarchy and data structure of SAP Web Dynpro applications, particularly in determining if dynamic nodes and attributes have been created and populated during runtime, which is crucial for ensuring the correct functioning of user interfaces and business logic.

Innovation Solution

A context debugger is implemented to load and display the context hierarchical data structure in memory, allowing developers to verify the correctness of the data structure, creation of dynamic nodes and attributes, and population of models, featuring options for horizontal, vertical, limited, or on/off readings of the context hierarchy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If developers manually inspect context hierarchy and data structure during runtime, then debugging capability is limited, but implementation complexity increases

Engineering Contradiction:
Improvedebugging precisionVSAvoiddebugging tool complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent introduces a context debugger as an intermediary tool that mediates between the complex context hierarchy data structure and the developer. This debugger automatically loads, traverses, and displays context data, nodes, and attributes, eliminating the need for developers to manually inspect complex runtime data structures while providing precise debugging capabilities through automated data retrieval and presentation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The context debugger creates a copy or representation of the actual context hierarchy data structure in memory and displays it in a readable format. By copying the complex runtime context data into a debugger-friendly format, developers can inspect the data structure without directly interacting with the complex original structure, thus improving debugging precision without proportionally increasing implementation complexity.

Inventive Principle:
Principle #26Copying

2Loss of information

If the context debugger displays complete context hierarchy data structure, then debugging information completeness improves, but information overload increases

Engineering Contradiction:
Improvedebugging information completenessVSAvoidinformation accessibility
Core Design Contradiction:
Loss of informationVSEase of operation

Solution Approach 1:

The context debugger segments the complete context hierarchy data structure into hierarchical levels and displays them in an organized manner. By dividing the comprehensive context data into manageable segments (context, nodes, attributes, elements) and presenting them in a structured format, the debugger maintains information completeness while making the data more accessible and less overwhelming for developers during debugging.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms the complex multi-dimensional context hierarchy data structure into a two-dimensional display format suitable for screen presentation. By mapping the hierarchical context data onto a flat display structure with appropriate indentation and formatting, the debugger preserves the complete information while making it visually accessible and easier to navigate on a two-dimensional display device.

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

Data Source

PatentUS8122381B2Context debugger
Publication Date: 2012.02.21 SAP SE
  • US8122381B2 patent drawing
  • US8122381B2 patent drawing
  • US8122381B2 patent drawing

AI summary

Methods and apparatus, including computer program products, for user a context debugger. A computer-implemented method of displaying information on a computer display device includes loading data into a context hierarchical data structure into memory during an execution of a business software application, the context hierarchical data structure comprising an arrangement of nodes and attributes, and displaying a first view on the display device during the execution, the first view comprising the context hierarchical data structure and data.