Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Powerful OCI debugging technique, but how??

Powerful OCI debugging technique, but how??

From: Ramon F Herrera <ramon_at_conexus.net>
Date: 5 Jun 2002 11:34:56 -0700
Message-ID: <c9bc36ff.0206051034.9e6bc9b@posting.google.com>


I have been doing some OCI programming lately, from a Linux client to a SPARC server; obviously, I have been using the debugger (gdb) a lot. It occurred to me that all the debugging info I have is from the client side only, but there must be some way to do server-side debugging. Is there a method to place the Oracle server in "monitoring" or "debugging" mode? I wouldn't mind setting up an Oracle server for my exclusive use, and to have it log any request (IF there is a request at all!) received over the network, or even locally.

Sometimes my OCI programs run fine, up the the "OCIStmtExecute" function which may execute without errors, but not give the expected result, or it may even fail with a vague error message. In this cases the programmer needs to know exactly what SQL statement was received by the server.

How can we do that?

TIA, -Ramon F. Herrera Received on Wed Jun 05 2002 - 13:34:56 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US