# US 2026/0086923 A1 · Dynamic programmatic call tracing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0086923 A1
- Document ID: US20260086923A1
- Status: Published application
- Kind: A1
- Application number: 18/893,721
- Filed: 2024-09-23
- Published: 2026-03-26
- Earliest claimed: 2024-09-23
- Assignees: Open Text Holdings, Inc.
- Applicants: Open Text Holdings, Inc.
- Inventors: ANIL MALLELA; JEGAN PANDIAN
- Web page: https://patentgrep.com/patent/US20260086923A1

## CPC

- G06F 11/364: {tracing values on a bus}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 11/3636: {by tracing the execution of the program}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for dynamic call tracing includes caching programmatic calls from a session to a session cache for the session, the session cache comprising call details for cached calls, detecting an error in the session, and based on detecting the error in the session, writing the call details from the session cache and error details for the detected error to a log.

## Claims

### Claim 1

A computer-implemented method for dynamic call tracing comprising:
caching, by a server, programmatic calls from a session to a session cache for the session, the session cache comprising call details for cached calls;
detecting an error in the session; and
based on detecting the error in the session, writing the call details from the session cache and error details for the detected error to a log.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the log is a session log for the session.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the session cache resides in a volatile memory and the session log resides in a persistent storage.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein caching the programmatic calls associated with the session in the session cache comprises writing the call details to the session cache, wherein the call details comprise call identifiers and timestamps.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the call details include call arguments.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the call details comprise one or more of a process identifier, a thread identifier, a session identifier, a user identifier, a call direction, or an execution time.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein the call details comprise user information and client information.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising evicting calls from the session cache on a least recently used basis.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the programmatic calls are remote procedure calls.

### Claim 10

A non-transitory, computer-readable medium storing therein code for dynamic call tracing, wherein the code for dynamic call tracing is executable by a processor and comprises instructions for:
caching programmatic calls to a plurality of session caches, each of the plurality of session caches providing a cache for a respective session from a plurality of sessions;
detecting errors in problematic sessions from the plurality of sessions; and
based on detecting the errors in the problematic sessions, writing call details from respective session caches for the problematic sessions and error details for the detected errors to a tracing log.

### Claim 11 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein writing the call details from the respective session caches for the problematic sessions and the error details for the errors detected in the problematic sessions to the tracing log comprises writing the call details and the error details to respective session logs for the problematic sessions, wherein the tracing log comprises the respective session logs for the problematic sessions.

### Claim 12 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein the plurality of session caches reside in a volatile memory and the respective session logs reside a persistent storage.

### Claim 13 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein caching the programmatic calls associated with the sessions in the session caches comprises writing the call details to the respective session caches, wherein the call details comprise call identifiers associated with timestamps.

### Claim 14 (depends on 13)

The non-transitory, computer-readable medium of claim 13, wherein the call details comprise one or more of a process identifier, a thread identifier, a session identifier, a user identifier, a call argument, a call direction, or an execution time.

### Claim 15 (depends on 13)

The non-transitory, computer-readable medium of claim 13, wherein the call details include call arguments.

### Claim 16 (depends on 13)

The non-transitory, computer-readable medium of claim 13, wherein the call details include user information and client information.

### Claim 17 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein the code further comprises instructions for managing each of the session caches on a least recently used basis.

### Claim 18 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein the programmatic calls are remote procedure calls.

### Claim 19

A system for dynamic call tracing comprising:
a volatile memory comprising session caches for sessions, each session cache comprising a data structure to hold user information, client information, and programmatic call information;
a persistent storage for storing session logs;
a processor;
a non-transitory, computer-readable medium storing call tracing code is executable by the processor, wherein the call tracing code comprises instructions for:
caching programmatic calls associated with the sessions in the session caches;
detecting an error in a problematic session; and
based on detecting the error in the problematic session, writing call details from a respective session cache for the problematic session and error details for the error detected in the problematic session to a session log for the problematic session.

### Claim 20 (depends on 19)

The system of claim 19, wherein the call details comprise a timestamp, a call identifier, a user identifier, and a client identifier.
