Debugging system wherein multiple code views are simultaneously managed
Abstract
A computer-implemented method is described for displaying on a screen, a plurality of views of a software code listing. The method includes the steps of displaying a first view-type of at least a portion of the software code listing and selecting and displaying additional view-types of the software code listing. The system includes a prioritized listing of view-types, each view-type providing a different presentation of a code listing. When a program listing in one file presents a call to another file, the system automatically presents a window including the called code listing, with the view-type automatically selected in accordance with the preestablished priority listing. Windows/code views are handled as objects, and are thus immediately recallable using a graphical interface.
Claims
exact text as granted — not AI-modifiedI claim:
1. A computer system for performing a method for displaying, on a screen, a plurality of views of software code listings, said computer system including a prioritized listing of view-types, each said view-type providing a different presentation of a code listing, said method comprising the steps of: displaying a first view-type of at least a portion of a software code listing in a first file; stepping through code lines in said portion of said software code listing; when a call is found in said first file for a code listing in another file, displaying a highest priority view-type available in said computer system of said code listing in said another file where said highest priority view-type of said another file is independent of highest priority view-type of said first file; and upon a determination that a view-type is to be removed from said screen, and saving a window in which said view-type is displayed and its contents as an object, whereby said removed window and its contents are recallable as said object and when so recalled are displayed on said screen.
2. The method as defined in claim 1 wherein said view-type of said code listing from said another file is simultaneously displayed with said first view-type of said software code listing of said fist file.
3. The method as recited in claim 2 comprising the step of: determining if said highest priority view-type from said another file is already displayed on said screen, and if so, updating said displayed highest priority view-type to show a currently active code line.
4. The method of claim 3 wherein said prioritized listing of said view-types includes a source code listing as the highest priority.
5. The method of claim 4 wherein a view-type having a lower prioritization is a disassembly code listing.
6. The method of claim 5 wherein another said prioritized view-type includes both source code and disassembly code combined.
7. The method of claim 6 wherein another said prioritized view-type includes a compressed image of said source code listing.
8. The method of claim 7 wherein another said view-type includes a flow graph of said source code, which graphically illustrates said source code.
9. The method of claim 1, wherein the steps of the method are performed under the control of a debugging program.
10. A computer system for performing a method for displaying, on a screen, a plurality of views of a software code listing, said computer system including a prioritized listing of view-types, each said view-type providing a different presentation of a code listing, said method comprising the steps of: displaying a first view-type of at least a portion of a software code listing in a first file; stepping through code lines in said portion of said software code listing; when a call is found in said first file for a code listing in another file, displaying a highest priority view-type available in said computer system of said code listing in said another file where said highest priority view-type of said another file is independent of highest priority view-type of said first file; and upon a determination that said first view-type is to be i) kept on the screen, ii) removed from the screen and replaced by an icon, or iii) discarded from the screen, and if said first view-type is to be replaced by an icon or discarded, saving as an object, a window in which said first view-type is displayed and its contents by recording said software code listing's scroll position, size of the window and position of the window on the screen, whereby, in case it is discarded, said window and its contents may be recalled by reference to the file and an indication of view-type or in case said window is replaced by an icon, said window may be recalled by selecting said icon.
11. The method as recited in claim 10 comprising the step of: determining if said highest priority view-type from said another file is already displayed on said screen, and if so, updating said displayed highest priority view-type to show a currently active code line. .Iadd.
12. A computer program product for use with a computer system, comprising: a computer usable medium having computer readable program code means embodied in said medium for displaying, on a screen, a plurality of views of software code listings, said computer program product including a prioritized listing of view-types, each said view-type providing a different presentation of a code listing, said computer usable medium comprising: first means for displaying a first view-type of at least a portion of a software code listing in a first file; second means for stepping through code lines in said portion of said software code listing; third means for displaying a highest priority view-type available of a code listing in another file when a call is found in said first file for said code listing in another file, where said highest priority view-type of said another file is independent of highest priority view-type of said first file; and fourth means for determining that a view-type is to be removed from said screen, and saving a window in which said view-type is displayed and its contents as an object, whereby said removed window and its contents are recallable as said object and when so recalled are displayed on said screen..Iaddend..Iadd.13. A computer program product according to claim 12, wherein said view-type of said code listing from said another file of said third means is simultaneously displayed with said first view-type of said software code listing of said first file..Iaddend..Iadd.14. A computer program product according to claim 13, further comprising fifth means for determining if said highest priority view-type from said another file is already displayed on said screen, and if so, updating said displayed highest priority view-type to show a currently active code line..Iaddend..Iadd.15. A computer program product according to claim 14, wherein said prioritized listing of said view-types includes a source code listing as the highest priority..Iaddend..Iadd.16. A computer program product according to claim 15, wherein a view-type having a lower prioritization is a disassembly code listing..Iaddend..Iadd.17. A computer program product according to claim 16, wherein another said prioritized view-type includes both source code and disassembly code combined..Iaddend..Iadd.18. A computer program product according to claim 17, wherein another said prioritized view-type includes a compressed image
of said source code listing..Iaddend..Iadd.19. A computer program product according to claim 18, wherein said view-type includes a flow graph of said source code, which graphically illustrates said source code..Iaddend..Iadd.20. A computer program product according to claim 12, wherein said computer program product operates under the control of a debugging program..Iaddend..Iadd.21. A computer program product for use with a computer system, comprising: a computer usable medium having computer readable program code means embodied in said medium for displaying, on a screen, a plurality of views of software code listings, said computer program product including a prioritized listing of view-types, each said view-type providing a different presentation of a code listing, said computer usable medium comprising: first means for displaying a first view-type of at least a portion of a software code listing in a first file; second means for stepping through code lines in said portion of said software code listing; third means for displaying a highest priority view-type available of a code listing in another file when a call is found in said first file for said code listing in another file, where said highest priority view-type of said another file is independent of highest priority view-type of said first file; and fourth means for determining that said first view-type is to be (i) kept on the screen, (ii) removed from the screen and replaced by an icon, or (iii) discarded from the screen, and if said first view-type is to be replaced by an icon or discarded, saving as an object a window in which said first view-type is displayed and its contents by recording said software code listing's scroll position, size of the window and position of the window on the screen, whereby, in case it is discarded, said window and its contents may be recalled by reference to the file and an indication of view-type or in case said window is replaced by an icon, said window may
be recalled by selecting said icon..Iaddend..Iadd.22. A computer program product according to claim 21, further comprising fifth means for determining if said highest priority view-type from said another file is already displayed on said screen, and if so, updating said displayed highest priority view-type to show a currently active code line..Iaddend..Iadd.23. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps of displaying, on a screen, a plurality of views of software code listings, said program storage device including a prioritized listing of view-types, each said view-type providing a different presentation of a code listing, said method steps comprising: displaying a first view-type of at least a portion of a software code listing in a first file; stepping through code lines in said portion of said software code listing; displaying a highest priority view-type available of a code listing in another file when a call is found in said first file for said code listing in another file, where said highest priority view-type of said another file is independent of highest priority view-type of said first file; and determining that a view-type is to be removed from said screen and saving a window in which said view-type is displayed and its contents as an object, whereby said removed window and its contents are recallable as said object
and when so recalled are displayed on said screen..Iaddend..Iadd.24. A program storage device according to claim 23, wherein said view-type of said code listing from said another file is simultaneously displayed with said first view-type of said software code listing of said first file..Iaddend..Iadd.25. A program storage device according to claim 24, further comprising the step of determining if said highest priority view-type from said another file is already displayed on said screen and if so, updating said displayed highest priority view-type to show a currently active code line..Iaddend..Iadd.26. A program storage device according to claim 25, wherein said prioritized listing of said view-types includes a source code listing as the highest priority..Iaddend..Iadd.27. A program storage device according to claim 26, wherein a view-type having a lower prioritization is a disassembly code listing..Iaddend..Iadd.28. A program storage device according to claim 27, wherein another said prioritized view-type includes both source code and disassembly code combined..Iaddend..Iadd.29. A program storage device according to claim 28, wherein another said prioritized view-type includes a compressed image of said source code listing..Iaddend..Iadd.30. A program storage device according to claim 29, wherein said view-type includes a flow graph of said source code, which graphically illustrates said source code..Iaddend..Iadd.31. A program storage device according to claim 23, wherein said method steps are performed under the control of a debugging
program..Iaddend..Iadd.32. A program storage device for use with a computer system, tangibly embodying a program of instructions executable by the machine to perform method steps of displaying, on a screen, a plurality of views of software code listings, said program storage device including a prioritized listing of view-types, each said view-type providing a different presentation of a code listing, said method steps comprising: comprising: displaying a first view-type of at least a portion of a software code listing in a first file; stepping through code lines in said portion of said software code listing; displaying a highest priority view-type available of a code listing in another file when a call is found in said first file for said code listing in another file, where said highest priority view-type of said another file is independent of highest priority view-type of said first file; and determining that said first view-type is to be (i) kept on the screen, (ii) removed from the screen and replaced by an icon, or (iii) discarded from the screen, and if said first view-type is to be replaced by an icon or discarded, saving as an object a window in which said first view-type is displayed and its contents by recording said software code listing's scroll position, size of the window and position of the window on the screen, whereby, in case it is discarded, said window and its contents may be recalled by reference to the file and an indication of view-type or in case said window is replaced by an icon, said window may be recalled by
selecting said icon..Iaddend..Iadd.33. A program storage device according to claim 32, further comprising the step of determining if said highest priority view-type from said another file is already displayed on said screen, and if so, updating said displayed highest priority view-type to show a currently active code line..Iaddend.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.