IP Library Granted Patent US 8,640,105
Granted Patent B2
US 8,640,105 · App. 12/929,538 · Granted Jan 28, 2014

Method and system for debugging a job running on a legacy system

Inventor: Lior Yaffe (Hadera, IL)
Assignee: Software AG
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 8,640,105
App. No.
12/929,538
Granted
Jan 28, 2014
Kind
B2
Abstract

A computer-implemented method for debugging a job running on a legacy system is provided. The job to be debugged is identified by programmatically reading a screen provided by the legacy system that displays a list of active jobs of the legacy system via screen scraping. Source code that corresponds to the identified job is programmatically retrieved. A breakpoint is programmatically created in the retrieved source code.

Claims (29)

1. A computer-implemented method for debugging a running job on a legacy system, the method comprising:

identifying the running job to be debugged by programmatically reading a screen, using screen scraping, provided by the legacy system that displays a list of active jobs of the legacy system;

automatically and programmatically retrieving source code that corresponds to the identified running job;

determining whether the retrieved source code comprises at least one instruction relating to displaying information on an interactive screen of the legacy system;

automatically and programmatically creating at least one breakpoint in the retrieved source code after the at least one determined instruction; and

starting a debugging session at one of the created at least one breakpoint,

wherein the determining of whether the source code comprises at least one instruction relating to displaying information on an interactive screen of the legacy system is performed by one of a plurality of language-specific source code parsers.

2. The method of claim 1 , further comprising filtering the list of active jobs of the legacy system based on at least one selection criterion selected from the group comprising username of a user that initiated the debugging, device name, job number, and/or job status.

3. The method of claim 1 , further comprising enabling user selection of the job to be debugged, if the list of active jobs of the legacy system comprises more than one candidate job.

4. The method of claim 1 , further comprising identifying a source program language of the job to be debugged, including programmatically reading a screen provided by the legacy system that displays program information of a program associated with the job to be debugged.

5. The method of claim 1 , further comprising programmatically invoking at least one command on the legacy system that causes the legacy system to output a screen that displays the source code of the job to be debugged.

6. The method of claim 1 , wherein a breakpoint is created after each determined instruction, wherein the method further comprises:

removing all other breakpoints in accordance with start of the debugging session.

7. A non-transitory computer readable storage medium tangibly storing a computer program for debugging a job running on a legacy system comprising instructions that are, when executed by at least one computer processor, configured to:

screen scrape a screen provided by the legacy system that displays a list of active jobs of the legacy system so as to identify the job to be debugged;

automatically and programmatically retrieve source code that corresponds to the identified job to be debugged;

determine whether the retrieved source code comprises at least one instruction relating to displaying information on an interactive screen of the legacy system; and

automatically and programmatically create at least one breakpoint in the retrieved source code at the at least one instruction relating to displaying information on an interactive screen of the legacy system,

wherein determining of whether the source code comprises at least one instruction relating to displaying information on an interactive screen of the legacy system is performed by one of a plurality of language-specific source code parsers.

8. A system for debugging a job running on a legacy system, the system comprising:

a processing system that includes at least one processor and a memory, the processing system configured to:

screen scrape a screen provided by the legacy system that displays a list of active jobs of the legacy system so as to identify the job to be debugged;

automatically and programmatically retrieve source code that corresponds to the identified job to be debugged;

determine whether the retrieved source code comprises at least one instruction relating to displaying information on an interactive screen of the legacy system; and

automatically and programmatically create at least one breakpoint in the retrieved source code after the at least one determined instruction relating to displaying information on an interactive screen of the legacy system,

wherein the determining of whether the source code comprises at least one instruction relating to displaying information on an interactive screen of the legacy system is performed by one of a plurality of language-specific source code parsers.

9. The system of claim 8 , wherein the processing system is further configured to filter the list of active jobs of the legacy system based on at least one selection criterion selected from the group comprising username of a user that initiated the debugging, device name, job number, and/or job status.

10. The system of claim 8 , wherein the processing system is further configured to identify a source program language of the job to be debugged by programmatically reading a screen provided by the legacy system that displays program information of a program associated with the job to be debugged.

11. The system of claim 8 , wherein the processing system is further configured to programmatically invoke at least one command on the legacy system that causes the legacy system to output a screen that displays the source code of the job to be debugged.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 25, 2024
From: SOFTWARE AG
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 069048/0240 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 15, 2011
From: YAFFE, LIOR
To: SOFTWARE AG
Reel/Frame 026136/0323 →
Priority Claims (1)
EP 11150817 · Jan 13, 2011 · regional
Continuity (1)
Related Publication 20120185829A1 · Jul 19, 2012