# US 2015/0149417 A1 · Web-based debugging of database sessions

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

- Number: US 2015/0149417 A1
- Document ID: US20150149417A1
- Status: Published application
- Kind: A1
- Application number: 14/315,580
- Filed: 2014-06-26
- Published: 2015-05-28
- Earliest claimed: 2013-11-25
- Assignees: Sap SE
- Inventors: Florian Foebel; Bjoern Friedmann; Boris Gruschko; Christian Mohr; Martin Strenge; Sascha Zorn
- Web page: https://patentgrep.com/patent/US20150149417A1

## CPC

- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 11/3668: Testing of software
- G06F 16/21: Design, administration or maintenance of databases
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/953: Querying, e.g. by the use of web search engines
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 63/083: {using passwords (cryptographic mechanisms or cryptographic arrangements for entity authentication using a predetermined code H04L9/3226)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system includes reception, from a first user, of a first web-protocol request to establish a first database server session, establishment of the first database server session in response to the first request, reception, from a second user, of a second web-protocol request to establish a second database server session and to communicate with the second database server session via a non-transient connection, establishment of the second database server session in response to the second request, reception, from the second user, of a third web-protocol request to attach the second database server session to the first database server session, attachment of the second database server session to the first database server session, and transmission of debugging information of the first database server session to the second user via the non-transient connection.

## Claims

### Claim 1

A system comprising:
a memory storing processor-executable process steps; and
a processor to execute the processor-executable process steps to cause the system to:
receive, from a first user, a first web-protocol request to establish a first database server session;
establish the first database server session in response to the first request;
receive, from a second user, a second web-protocol request to establish a second database server session and to communicate with the second database server session via a non-transient connection;
establish the second database server session in response to the second request;
receive, from the second user, a third web-protocol request to attach the second database server session to the first database server session;
attach the second database server session to the first database server session; and
transmit debugging information of the first database server session to the second user via the non-transient connection.

### Claim 2 (depends on 1)

A system according to claim 1, wherein the processor is further to execute the processor-executable process steps to cause the system to:
execute server-side application program code in the first database server session;
prior to transmission of the debugging information, determine that execution has reached a breakpoint in the server-side application program code;
in response to the determination that execution has reached the breakpoint, and prior to transmission of the debugging information, halt execution of the server-side application program code.

### Claim 3 (depends on 1)

A system according to claim 1, wherein the first request conforms to HyperText Transfer Protocol protocol, and
wherein the second request and the third request conform to WebSocket protocol.

### Claim 4 (depends on 1)

A system according to claim 1, wherein the processor is further to execute the processor-executable process steps to cause the system to:
receive, from a third user, a fourth web-protocol request to establish a third database server session and to communicate with the third database server session via a second non-transient connection;
establish the third database server session in response to the fourth request;
receive, from the third user, a fifth web-protocol request to attach the third database server session to the first database server session;
attach the third database server session to the first database server session; and
transmit second debugging information of the first database server session to the third user via the second non-transient connection.

### Claim 5 (depends on 4)

A system according to claim 4, wherein the processor is further to execute the processor-executable process steps to cause the system to:
execute server-side application program code in the first database server session;
prior to transmission of the debugging information, determine that execution has reached a breakpoint in the server-side application program code;
in response to the determination that execution has reached the breakpoint, and prior to transmission of the debugging information and the second debugging information, halt execution of the server-side application program code.

### Claim 6 (depends on 4)

A system according to claim 4, wherein the processor is further to execute the processor-executable process steps to cause the system to:
in response to the third request, determine whether the second user is authorized to debug the first database server session, and
in response to the fifth request, determine whether the third user is authorized to debug the first database server session.

### Claim 7 (depends on 1)

A system according to claim 1, wherein the processor is further to execute the processor-executable process steps to cause the system to:
in response to the third request, determine whether the second user is authorized to debug the first database server session.

### Claim 8

A computer-implemented method comprising:
receiving, from a first user, a first web-protocol request to establish a first database server session;
establishing the first database server session in response to the first request;
receiving, from a second user, a second web-protocol request to establish a second database server session and to communicate with the second database server session via a non-transient connection;
establishing the second database server session in response to the second request;
receiving, from the second user, a third web-protocol request to attach the second database server session to the first database server session;
in response to the third request, determining whether the second user is authorized to debug the first database server session based on stored authorization information;
if it is determined that the second user is authorized to debug the first database server session, attaching the second database server session to the first database server session; and
transmitting debugging information of the first database server session to the second user via the non-transient connection.

### Claim 9 (depends on 8)

A computer-implemented method according to claim 8, further comprising:
executing server-side application program code in the first database server session;
prior to transmitting the debugging information, determining that execution has reached a breakpoint in the server-side application program code;
in response to determining that execution has reached the breakpoint, and prior to transmitting the debugging information, halting execution of the server-side application program code.

### Claim 10 (depends on 8)

A computer-implemented method according to claim 8, wherein the first request conforms to HyperText Transfer Protocol protocol, and
wherein the second request and the third request conform to WebSocket protocol.

### Claim 11 (depends on 8)

A computer-implemented method according to claim 8, further comprising:
receiving, from a third user, a fourth web-protocol request to establish a third database server session and to communicate with the third database server session via a second non-transient connection;
establishing the third database server session in response to the fourth request;
receiving, from the third user, a fifth web-protocol request to attach the third database server session to the first database server session;
attaching the third database server session to the first database server session; and
transmitting second debugging information of the first database server session to the third user via the second non-transient connection.

### Claim 12 (depends on 11)

A computer-implemented method according to claim 11, further comprising:
executing server-side application program code in the first database server session;
prior to transmission of the debugging information, determining that execution has reached a breakpoint in the server-side application program code;
in response to determining that execution has reached the breakpoint, and prior to transmitting the debugging information and the second debugging information, halting execution of the server-side application program code.

### Claim 13 (depends on 11)

A computer-implemented method according to claim 11, further comprising:
in response to the fifth request, determining whether the third user is authorized to debug the first database server session based on the stored authorization data.

### Claim 14

A non-transitory computer-readable medium storing program code, the program code executable by a computer system to cause to the computer system to:
receive, from a first user, a first web-protocol request to establish a first database server session;
establish the first database server session in response to the first request;
receive, from a second user, a second web-protocol request to establish a second database server session and to communicate with the second database server session via a non-transient connection;
establish the second database server session in response to the second request;
receive, from the second user, a third web-protocol request to attach the second database server session to the first database server session;
attach the second database server session to the first database server session; and
transmit debugging information of the first database server session to the second user via the non-transient connection.

### Claim 15 (depends on 14)

A non-transitory computer-readable medium according to claim 14, wherein the program code is further executable by a computer system to cause to the computer system to:
execute server-side application program code in the first database server session;
prior to transmission of the debugging information, determine that execution has reached a breakpoint in the server-side application program code;
in response to the determination that execution has reached the breakpoint, and prior to transmission of the debugging information, halt execution of the server-side application program code.

### Claim 16 (depends on 14)

A non-transitory computer-readable medium according to claim 14, wherein the first request conforms to HyperText Transfer Protocol protocol, and
wherein the second request and the third request conform to WebSocket protocol.

### Claim 17 (depends on 14)

A non-transitory computer-readable medium according to claim 14, wherein the program code is further executable by a computer system to cause to the computer system to:
receive, from a third user, a fourth web-protocol request to establish a third database server session and to communicate with the third database server session via a second non-transient connection;
establish the third database server session in response to the fourth request;
receive, from the third user, a fifth web-protocol request to attach the third database server session to the first database server session;
attach the third database server session to the first database server session; and
transmit second debugging information of the first database server session to the third user via the second non-transient connection.

### Claim 18 (depends on 17)

A non-transitory computer-readable medium according to claim 17, wherein the program code is further executable by a computer system to cause to the computer system to:
execute server-side application program code in the first database server session;
prior to transmission of the debugging information, determine that execution has reached a breakpoint in the server-side application program code;
in response to the determination that execution has reached the breakpoint, and prior to transmission of the debugging information and the second debugging information, halt execution of the server-side application program code.

### Claim 19 (depends on 17)

A non-transitory computer-readable medium according to claim 17, wherein the program code is further executable by a computer system to cause to the computer system to:
determine, in response to the third request, whether the second user is authorized to debug the first database server session, and
determine, in response to the fifth request, whether the third user is authorized to debug the first database server session.

### Claim 20 (depends on 14)

A non-transitory computer-readable medium according to claim 14, wherein the program code is further executable by a computer system to cause to the computer system to:
determine, in response to the third request, whether the second user is authorized to debug the first database server session.
