System, method and program for debugging external programs in client/server-based relational database management systems
First Claim
1. A method for debugging an external program, said method comprising:
- initiating a debugger to debug an external program stored on a server, wherein the debugger is initiated from within a process running the external program by executing a special segment of code with the execution of the external program; and
creating a debugger process for the initiated debugger, wherein execution breaks at a first executable statement of the external program being debugged.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a method, system, and program for debugging external programs, such as user-defined functions, stored procedures, and triggers executed in relational database management systems (RDBMS), in a client-server, i.e., distributed, environment. In the present invention, a debugger is initiated from within a process running the external program by executing a special segment of code prior to the execution of the external program. In one embodiment of the invention, this debugging function is triggered by including a variation of this special segment of program code within the external program, itself. In another embodiment of the invention, this debugging triggering function is provided within an enhanced RDBMS with extensions to SQL to activate the debugging ability in the RDBMS. The invention can be implemented by using present day serial debuggers or parallel and/or distributed debuggers. One such parallel and distributed debugger utilized in a preferred embodiment is the Parallel and Distributed Dynamic Analyzer (PDDA) debugger. In addition, although the following invention is described with reference to a debugger, the invention can be applicable for any application development tool.
321 Citations
19 Claims
-
1. A method for debugging an external program, said method comprising:
-
initiating a debugger to debug an external program stored on a server, wherein the debugger is initiated from within a process running the external program by executing a special segment of code with the execution of the external program; and
creating a debugger process for the initiated debugger, wherein execution breaks at a first executable statement of the external program being debugged.
-
-
2. A method for debugging an external program, said method comprising:
-
initiating a debugger to debug an external program stored on a server from within a process running the DBMS external program to be debugged by executing a special segment of code with the execution of the external program; and
creating a debugger process wherein execution will break at a specified executable statement of the external program being debugged.
-
-
3. A method for debugging an external program, said method comprising:
-
initiating a debugger process to debug an external program stored on a server from within a process running the DBMS external program to be debugged by executing a special segment of code with the execution of the external program; and
creating the debugger process to execute the external program being debugged.
-
-
4. A system for debugging an external program, said system comprising:
-
means for initiating a debugger to debug an external program stored on a server from within a process running the external program to be debugged by executing a special segment of code with the execution of the external program; and
means for creating a debugger process wherein execution will break at a specified executable statement of the external program being debugged. - View Dependent Claims (6, 7, 8, 9, 10)
-
-
5. A system for debugging an external program, said system comprising:
-
means for initiating a debugger process to debug an external program stored on a server from within a process running the external program to be debugged by executing a special segment of code with the execution of the external program; and
means for creating the debugger process to execute the external program being debugged. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
Specification