IP Library Granted Patent US 9,648,139
Granted Patent B2
US 9,648,139 · App. 14/133,917 · Granted May 9, 2017

Inserting server-side breakpoints requested by remote development clients

Inventor: Stefan Guggisberg (Basel, CH)
Assignee: Adobe Systems Incorporated
H04L67/42G06F11/36G06F11/3636G06F17/30861H04L67/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,648,139
App. No.
14/133,917
Granted
May 9, 2017
Kind
B2
Abstract

In some embodiments, a server application can provide a web document to a development application. The web document is dynamically generated from source files. The web document includes element code segments for rendering respective elements of the web document in a browser. Each element code segment includes respective metadata for identifying a respective source file used to generate the element code segment. The server application can receive a breakpoint request from the development application to insert at least one breakpoint in at least one source file identifiable using the metadata in the web document. The server application can insert the breakpoint in the source file responsive to the breakpoint request. The server application can provide an updated web document to the development application. The updated web document includes a subset of the element code segments dynamically generated by executing source code up to the breakpoint in the source file.

Claims (56)

1. A method comprising:

providing, by a server system, a web document to a remote development application, wherein the server system dynamically generates the web document by executing source code from a plurality of source files, wherein the web document comprises element code segments for rendering respective elements of the web document in a browser, wherein each of the element code segments includes respective metadata for identifying a respective one of the plurality of source files used to generate the element code segment;

receiving, by the server system, a breakpoint request from the development application to insert at least one breakpoint in at least one source file of the plurality of source files;

inserting, by the server system, the at least one breakpoint in the at least one source file responsive to the breakpoint request; and

providing, by the server system, an updated web document to the development application, wherein the updated web document includes a subset of the element code segments that are dynamically generated by executing the source code up to the at least one breakpoint in the at least one source file,

wherein the breakpoint request comprises an offset value, wherein inserting the at least one breakpoint comprises inserting the breakpoint after an amount of data specified by the offset value in the web document is generated, wherein the data is generated by executing source code up to the at least one breakpoint in the at least one source file.

2. The method of claim 1 , wherein the web document is a markup language document and the element code segments comprise markup language elements.

3. The method of claim 1 , further comprising providing a portion of the source code adjacent to the breakpoint with the updated web document.

4. The method of claim 3 , wherein providing the portion of the source code comprises:

providing the source code of the sources files to a development interface of the development application during execution of the source code; and

providing the portion of the source code for display in the development interface with an indicator that the execution of the source code is halted at the portion of the source code.

5. The method of claim 1 , further comprising generating the updated web document by:

executing the source code in at least some of the plurality of source files to generate the subset of the element code segments;

encountering the at least one breakpoint during execution of the source code; and

pausing the execution of the source code in response to the at least one breakpoint, wherein the updated web document comprises the subset of the element code segments generated prior to pausing the execution of the source code.

6. The method of claim 5 , further comprising:

resuming the execution of the source code in response to receiving a request from the development application to resume the execution; and

providing an additional subset of the element code segments to the development application, wherein the additional subset is generated after resuming the execution of the source code.

7. The method of claim 1 , wherein page code for the web document is dynamically generated by a server application in response to a request from the development application.

8. The method of claim 1 , wherein the breakpoint request is generated in response to selecting an element of the web document by the development application and is generated based on the metadata of the web document for identifying the respective source file used to generate the element code segment corresponding to the selected element.

9. A server system comprising:

a processor; and

a non-transitory computer-readable medium communicatively coupled to the processor,

wherein the processor is configured for executing instructions stored in the non-transitory computer-readable medium to perform operations comprising:

providing a web document to a remote development application, wherein the server system dynamically generates the web document by executing source code from a plurality of source files, wherein the web document comprises element code segments for rendering respective elements of the web document in a browser, wherein each of the element code segments includes respective metadata for identifying a respective one of the plurality of source files used to generate the element code segment,

receiving a breakpoint request from the development application to insert at least one breakpoint in at least one source file of the plurality of source files,

inserting the at least one breakpoint in the at least one source file responsive to the breakpoint request, and

providing an updated web document to the development application, wherein the updated web document includes a subset of the element code segments that are dynamically generated by executing the source code up to the at least one breakpoint in the at least one source file,

wherein the breakpoint request comprises an offset value, wherein inserting the at least one breakpoint comprises inserting the breakpoint after an amount of data specified by the offset value in the web document is generated, wherein the data is generated by executing source code up to the at least one breakpoint in the at least one source file.

10. The system of claim 9 , wherein the web document is a markup language document and the element code segments comprise markup language elements.

11. The system of claim 9 , wherein the operations further comprise:

providing the source code of the sources files to a development interface of the development application during execution of the source code; and

providing a portion of the source code for display in the development interface with an indicator that the execution of the source code is halted at the portion of the source code.

12. The system of claim 9 , wherein the operations further comprise:

executing the source code in at least some of the plurality of source files to generate the subset of the element code segments;

encountering the at least one breakpoint during execution of the source code; and

pausing the execution of the source code in response to the at least one breakpoint, wherein the updated web document comprises the subset of the element code segments generated prior to pausing the execution of the source code.

13. The system of claim 12 , wherein the operations further comprise:

resuming the execution of the source code in response to receiving a request from the development application to resume the execution; and

providing an additional subset of the element code segments to the development application, wherein the additional subset is generated after resuming the execution of the source code.

14. A non-transitory computer-readable medium embodying program code executable by a processing device, the non-transitory computer-readable medium comprising:

program code for providing a web document to a remote development application, wherein the server system dynamically generates the web document by executing source code from a plurality of source files, wherein the web document comprises element code segments for rendering respective elements of the web document in a browser, wherein each of the element code segments includes respective metadata for identifying a respective one of the plurality of source files used to generate the element code segment;

program code for receiving a breakpoint request from the development application to insert at least one breakpoint in at least one source file of the plurality of source files;

program code for inserting the at least one breakpoint in the at least one source file responsive to the breakpoint request; and

program code for providing an updated web document to the development application, wherein the updated web document includes a subset of the element code segments that are dynamically generated by executing the source code up to the at least one breakpoint in the at least one source file,

wherein the breakpoint request comprises an offset value, wherein inserting the at least one breakpoint comprises inserting the breakpoint after an amount of data specified by the offset value in the web document is generated, wherein the data is generated by executing source code up to the at least one breakpoint in the at least one source file.

15. The non-transitory computer-readable medium of claim 14 , further comprising:

program code for providing the source code of the sources files to a development interface of the development application during execution of the source code; and

program code for providing a portion of the source code for display in the development interface with an indicator that the execution of the source code is halted at the portion of the source code.

16. The non-transitory computer-readable medium of claim 14 , further comprising:

program code for executing the source code in at least some of the plurality of source files to generate the subset of the element code segments;

program code for encountering the at least one breakpoint during execution of the source code; and

program code for pausing the execution of the source code in response to the at least one breakpoint, wherein the updated web document comprises the subset of the element code segments generated prior to pausing the execution of the source code.

17. The non-transitory computer-readable medium of claim 16 , further comprising:

program code for resuming the execution of the source code in response to receiving a request from the development application to resume the execution; and

program code for providing an additional subset of the element code segments to the development application, wherein the additional subset is generated after resuming the execution of the source code.

Assignments (2)
CHANGE OF NAME Recorded Mar 6, 2019
From: ADOBE SYSTEMS INCORPORATED
To: ADOBE INC.
Reel/Frame 048525/0042 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 19, 2013
From: GUGGISBERG, STEFAN
To: ADOBE SYSTEMS INCORPORATED
Reel/Frame 031818/0193 →
Continuity (1)
Related Publication 20150178251A1 · Jun 25, 2015