Claims
- 1. A method of facilitating debugging of applications, said method comprising:
obtaining a symbol to be used in debugging an application, the symbol corresponding to a term unreferenced in the application; and using the symbol in debugging the application.
- 2. The method of claim 1, wherein the symbol is located in a user defined symbol table.
- 3. The method of claim 2, wherein the obtaining comprises:
receiving an expression from a user to debug the application; parsing the expression into one or more tokens, at least one token corresponding to the term; and using the at least one token to obtain the symbol in the user defined symbol table.
- 4. The method of claim 2, wherein the user defined symbol table is accessible to a plurality of users.
- 5. The method of claim 1, wherein said symbol comprises return type information usable in debugging the application.
- 6. The method of claim 1, wherein said symbol comprises an indication of a resolve function to be used to provide an address of the term.
- 7. The method of claim 1, wherein the obtaining comprises:
checking whether the symbol is included in a program symbol table; and locating the symbol in a user defined symbol table, in response to the checking indicating the symbol is not included in the program symbol table.
- 8. The method of claim 7, wherein the using comprises employing information of the symbol of the user defined symbol table to debug the application.
- 9. The method of claim 1, wherein the obtaining comprises:
determining whether the symbol is included in an override symbol table; and locating the symbol in the override symbol table, in response to the determining indicating the symbol is included in the override symbol table.
- 10. The method of claim 9, wherein the using comprises employing information of the symbol of the override symbol table to debug the application.
- 11. The method of claim 9, wherein information of the symbol is redefined by the override symbol table.
- 12. The method of claim 9, further comprising locating the symbol in a user defined symbol table, in response to the determining indicating the symbol is not included in the override symbol table.
- 13. The method of claim 12, wherein the using comprises employing information of the symbol of the user defined symbol table to debug the application.
- 14. The method of claim 1, wherein the using comprises employing a resolve function of the symbol to locate the term.
- 15. The method of claim 1, further comprising defining the symbol to be used.
- 16. The method of claim 15, wherein the defining is performed by a user.
- 17. The method of claim 15, wherein the defining includes providing a resolve function for the symbol, the resolve function usable in determining an address of the term.
- 18. A method of facilitating debugging of applications, said method comprising:
determining whether a symbol to be used in debugging an application is included in an override symbol table; using the override symbol table to obtain information usable in debugging the application, in response to the determining indicating the symbol is included in the override symbol table; inquiring whether the symbol is included in a program symbol table, in response to the determining indicating that the symbol is not included in the override symbol table; using the program symbol table to obtain information usable in debugging the application, in response to the inquiry indicating the symbol is included in the program symbol table; checking whether the symbol is included in a user defined symbol table, in response to the inquiry indicating the symbol is not included in the program symbol table; and using the user defined symbol table to obtain information usable in debugging the application, in response to the checking indicating the symbol is included in the user defined symbol table.
- 19. The method of claim 18, wherein the symbol corresponds to a term of the application to be debugged, and the using the override symbol table includes employing a resolve function of the symbol of the override symbol table to locate the term.
- 20. The method of claim 18, wherein the symbol corresponds to a term of the application to be debugged, and the using the program symbol table includes employing compiler generated information of the symbol of the program symbol table to locate the term.
- 21. The method of claim 18, wherein the symbol corresponds to a term of the application to be debugged, and the using the user defined symbol table includes employing a resolve function of the symbol of the user defined symbol table to locate the term.
- 22. A method of facilitating debugging of applications, said method comprising:
identifying a symbol to be used in debugging an application, the symbol having a definition; and redefining the symbol, wherein the redefined symbol is used in debugging the application.
- 23. The method of claim 22, wherein the redefining comprises overriding compiler generated information of the symbol with user defined information usable in debugging the application.
- 24. The method of claim 22, wherein the redefining comprising overriding user defined information of the symbol with revised user defined information usable in debugging.
- 25. The method of claim 24, wherein the revised user defined information includes a resolving function.
- 26. The method of claim 22, wherein the redefining is performed during runtime of the application.
- 27. The method of claim 22, wherein the redefining is dependent on whether the symbol is a compiler generated symbol or a user defined symbol.
- 28. A system of facilitating debugging of applications, said system comprising:
means for obtaining a symbol to be used in debugging an application, the symbol corresponding to a term unreferenced in the application; and means for using the symbol in debugging the application.
- 29. The system of claim 28, wherein the symbol is located in a user defined symbol table.
- 30. The system of claim 29, wherein the means for obtaining comprises:
means for receiving an expression from a user to debug the application; means for parsing the expression into one or more tokens, at least one token corresponding to the term; and means for using the at least one token to obtain the symbol in the user defined symbol table.
- 31. The system of claim 29, wherein the user defined symbol table is accessible to a plurality of users.
- 32. The system of claim 28, wherein said symbol comprises return type information usable in debugging the application.
- 33. The system of claim 28, wherein said symbol comprises an indication of a resolve function to be used to provide an address of the term.
- 34. The system of claim 28, wherein the means for obtaining comprises:
means for checking whether the symbol is included in a program symbol table; and means for locating the symbol in a user defined symbol table, in response to the checking indicating the symbol is not included in the program symbol table.
- 35. The system of claim 34, wherein the means for using comprises means for employing information of the symbol of the user defined symbol table to debug the application.
- 36. The system of claim 28, wherein the means for obtaining comprises:
means for determining whether the symbol is included in an override symbol table; and means for locating the symbol in the override symbol table, in response to the determining indicating the symbol is included in the override symbol table.
- 37. The system of claim 36, wherein the means for using comprises means for employing information of the symbol of the override symbol table to debug the application.
- 38. The system of claim 36, wherein information of the symbol is redefined by the override symbol table.
- 39. The system of claim 36, further comprising means for locating the symbol in a user defined symbol table, in response to the determining indicating the symbol is not included in the override symbol table.
- 40. The system of claim 39, wherein the means for using comprises means for employing information of the symbol of the user defined symbol table to debug the application.
- 41. The system of claim 28, wherein the means for using comprises means for employing a resolve function of the symbol to locate the term.
- 42. The system of claim 28, further comprising means for defining the symbol to be used.
- 43. The system of claim 42, wherein the means for defining comprises one or more user definitions.
- 44. The system of claim 42, wherein the means for defining includes means for providing a resolve function for the symbol, the resolve function usable in determining an address of the term.
- 45. A system of facilitating debugging of applications, said system comprising:
means for determining whether a symbol to be used in debugging an application is included in an override symbol table; means for using, in response to the means for determining indicating the symbol is included in the override symbol table, the override symbol table to obtain information usable in debugging the application; means for inquiring, in response to the means for determining indicating that the symbol is not included in the override symbol table, whether the symbol is included in a program symbol table; means for using, in response to the means for inquiring indicating the symbol is included in the program symbol table, the program symbol table to obtain information usable in debugging the application; means for checking, in response to the means for inquiring indicating the symbol is not included in the program symbol table, whether the symbol is included in a user defined symbol table; and means for using, in response to the means for checking indicating the symbol is included in the user defined symbol table, the user defined symbol table to obtain information usable in debugging the application.
- 46. The system of claim 45, wherein the symbol corresponds to a term of the application to be debugged, and the means for using the override symbol table includes means for employing a resolve function of the symbol of the override symbol table to locate the term.
- 47. The system of claim 45, wherein the symbol corresponds to a term of the application to be debugged, and the means for using the program symbol table includes means for employing compiler generated information of the symbol of the program symbol table to locate the term.
- 48. The system of claim 45, wherein the symbol corresponds to a term of the application to be debugged, and the means for using the user defined symbol table includes means for employing a resolve function of the symbol of the user defined symbol table to locate the term.
- 49. A system of facilitating debugging of applications, said system comprising:
means for identifying a symbol to be used in debugging an application, the symbol having a definition; and means for redefining the symbol, wherein the redefined symbol is used in debugging the application.
- 50. The system of claim 49, wherein the means for redefining comprises means for overriding compiler generated information of the symbol with user defined information usable in debugging the application.
- 51. The system of claim 49, wherein the means for redefining comprising means for overriding user defined information of the symbol with revised user defined information usable in debugging.
- 52. The system of claim 51, wherein the revised user defined information includes a resolving function.
- 53. The system of claim 49, wherein the redefining is performed during runtime of the application.
- 54. The system of claim 49, wherein the redefining is dependent on whether the symbol is a compiler generated symbol or a user defined symbol.
- 55. A system of facilitating debugging of applications, said system comprising:
a symbol to be used in debugging an application, the symbol corresponding to a term unreferenced in the application; and a debugger to use the symbol in debugging the application.
- 56. A system of facilitating debugging of applications, said system comprising:
a debugger to:
determine whether a symbol to be used in debugging an application is included in an override symbol table; use the override symbol table to obtain information usable in debugging the application, in response to the determining indicating the symbol is included in the override symbol table; inquire whether the symbol is included in a program symbol table, in response to the determining indicating that the symbol is not included in the override symbol table; use the program symbol table to obtain information usable in debugging the application, in response to the inquiry indicating the symbol is included in the program symbol table; check whether the symbol is included in a user defined symbol table, in response to the inquiry indicating the symbol is not included in the program symbol table; and use the user defined symbol table to obtain information usable in debugging the application, in response to the checking indicating the symbol is included in the user defined symbol table.
- 57. A system of facilitating debugging of applications, said system comprising:
a symbol to be used in debugging an application, the symbol having a definition; and a debugger to redefine the symbol, wherein the redefined symbol is used in debugging the application.
- 58. At least one program storage device readable by a machine tangibly embodying at least one program of instructions executable by the machine to perform a method of facilitating debugging of applications, said method comprising:
obtaining a symbol to be used in debugging an application, the symbol corresponding to a term unreferenced in the application; and using the symbol in debugging the application.
- 59. The at least one program storage device of claim 58, wherein the symbol is located in a user defined symbol table.
- 60. The at least one program storage device of claim 59, wherein the obtaining comprises:
receiving an expression from a user to debug the application; parsing the expression into one or more tokens, at least one token corresponding to the term; and using the at least one token to obtain the symbol in the user defined symbol table.
- 61. The at least one program storage device of claim 59, wherein the user defined symbol table is accessible to a plurality of users.
- 62. The at least one program storage device of claim 58, wherein said symbol comprises return type information usable in debugging the application.
- 63. The at least one program storage device of claim 58, wherein said symbol comprises an indication of a resolve function to be used to provide an address of the term.
- 64. The at least one program storage device of claim 58, wherein the obtaining comprises:
checking whether the symbol is included in a program symbol table; and locating the symbol in a user defined symbol table, in response to the checking indicating the symbol is not included in the program symbol table.
- 65. The at least one program storage device of claim 64, wherein the using comprises employing information of the symbol of the user defined symbol table to debug the application.
- 66. The at least one program storage device of claim 58, wherein the obtaining comprises:
determining whether the symbol is included in an override symbol table; and locating the symbol in the override symbol table, in response to the determining indicating the symbol is included in the override symbol table.
- 67. The at least one program storage device of claim 66, wherein the using comprises employing information of the symbol of the override symbol table to debug the application.
- 68. The at least one program storage device of claim 66, wherein information of the symbol is redefined by the override symbol table.
- 69. The at least one program storage device of claim 66, wherein said method further comprises locating the symbol in a user defined symbol table, in response to the determining indicating the symbol is not included in the override symbol table.
- 70. The at least one program storage device of claim 69, wherein the using comprises employing information of the symbol of the user defined symbol table to debug the application.
- 71. The at least one program storage device of claim 58, wherein the using comprises employing a resolve function of the symbol to locate the term.
- 72. The at least one program storage device of claim 58, wherein said method further comprises defining the symbol to be used.
- 73. The at least one program storage device of claim 72, wherein the defining is based on user input.
- 74. The at least one program storage device of claim 72, wherein the defining includes providing a resolve function for the symbol, the resolve function usable in determining an address of the term.
- 75. At least one program storage device readable by a machine tangibly embodying at least one program of instructions executable by the machine to perform a method of facilitating debugging of applications, said method comprising:
determining whether a symbol to be used in debugging an application is included in an override symbol table; using the override symbol table to obtain information usable in debugging the application, in response to the determining indicating the symbol is included in the override symbol table; inquiring whether the symbol is included in a program symbol table, in response to the determining indicating that the symbol is not included in the override symbol table; using the program symbol table to obtain information usable in debugging the application, in response to the inquiry indicating the symbol is included in the program symbol table; checking whether the symbol is included in a user defined symbol table, in response to the inquiry indicating the symbol is not included in the program symbol table; and using the user defined symbol table to obtain information usable in debugging the application, in response to the checking indicating the symbol is included in the user defined symbol table.
- 76. The at least one program storage device of claim 75, wherein the symbol corresponds to a term of the application to be debugged, and the using the override symbol table includes employing a resolve function of the symbol of the override symbol table to locate the term.
- 77. The at least one program storage device of claim 75, wherein the symbol corresponds to a term of the application to be debugged, and the using the program symbol table includes employing compiler generated information of the symbol of the program symbol table to locate the term.
- 78. The at least one program storage device of claim 75, wherein the symbol corresponds to a term of the application to be debugged, and the using the user defined symbol table includes employing a resolve function of the symbol of the user defined symbol table to locate the term.
- 79. At least one program storage device readable by a machine tangibly embodying at least one program of instructions executable by the machine to perform a method of facilitating debugging of applications, said method comprising:
identifying a symbol to be used in debugging an application, the symbol having a definition; and redefining the symbol, wherein the redefined symbol is used in debugging the application.
- 80. The at least one program storage device of claim 79, wherein the redefining comprises overriding compiler generated information of the symbol with user defined information usable in debugging the application.
- 81. The at least one program storage device of claim 79, wherein the redefining comprising overriding user defined information of the symbol with revised user defined information usable in debugging.
- 82. The at least one program storage device of claim 81, wherein the revised user defined information includes a resolving function.
- 83. The at least one program storage device of claim 79, wherein the redefining is performed during runtime of the application.
- 84. The at least one program storage device of claim 79, wherein the redefining is dependent on whether the symbol is a compiler generated symbol or a user defined symbol.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application contains subject matter which is related to the subject matter of the following applications, each of which is assigned to the same assignee as this application and filed on the same day as this application. Each of the below listed applications is hereby incorporated herein by reference in its entirety:
[0002] “Facilitating The Use Of Aliases During The Debugging Of Applications,” Baker et al., Ser. No. ______, (IBM Docket No. POU920010138US1), filed herewith; and
[0003] “Generating A Common Symbol Table For Symbols Of Independent Applications,” Baker et al., Ser. No. ______, (IBM Docket No. POU920010137US1), filed herewith.