DEBUGGING DB2 CS CLIENT SERVER APPLICATIONS

Authors
Citation
M. Meier et al., DEBUGGING DB2 CS CLIENT SERVER APPLICATIONS, IBM systems journal, 36(1), 1997, pp. 88-101
Citations number
14
Categorie Soggetti
System Science","Computer Science Information Systems","Computer Science Software Graphycs Programming","Computer Science Theory & Methods
Journal title
ISSN journal
00188670
Volume
36
Issue
1
Year of publication
1997
Pages
88 - 101
Database
ISI
SICI code
0018-8670(1997)36:1<88:DDCCSA>2.0.ZU;2-I
Abstract
The technology of running external programs on the server side of a re lational database management system (RDBMS) has been developed in the past few years. Database 2(TM)/Common Server (DB2(TM)/CS) for UNIX(TM) -based platforms supports external programs (i.e., user-defined functi ons and stored procedures) that are written by the application develop er in a third-generation language such as C or C++. The main difficult y in debugging these external programs is that they are executed under the control of DB2/CS, which is itself a large software system for wh ich no source code is provided. If is therefore impractical for a debu gger to penetrate through the layers of software of DB2/CS to locate a nd debug the external programs. It is also very difficult for the debu gger to determine when an external program will be invoked by the data base engine and in which process it will be run. In addition, in an en vironment where the DS2/CS server is shared between a large number of users, if is necessary to ensure that the debugger does not violate th e security of the DB2/CS system. In this paper, we describe a set of e xtensions to a distributed debugger and DB2/CS to support the debuggin g of external programs. A prototype was implemented to show the feasib ility of the proposed approach.