Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Oracle provide public Symbol Files (PDB) for OCCI/OCI?

OTN Thread: Does Oracle provide public Symbol Files (PDB) for OCCI/OCI ?

When debugging an application under Windows (with Visual Studio or WinDBG) that makes use of OC[C]I it would often be convenient if there be symbol files (PDB files) for the Oracle OCI/OCCI libraries. (public symbol files, just as Microsoft makes available for all system libraries)

Does Oracle provide these?

Note: These public symbol files would be especially welcome for the Oracle libraries because we did have a few crashes where the call stack was inside on of the oci/occi libraries and it does appear that the (probably optimization) settings used to produce these DLLs effectively prevent Visual Studio from displaying any usable call stack for a user dump when inside these libs.

As a further clarification to the previous paragraph: This doesn't imply a crash in the OCCI libs. It just means if one thread happens to be inside an OCCI call and a user dump is generated (for whatever reason - could be generated on demand for any running application), the call stack for this thread is (at least semi-) messed up. Therefore public symbol files would come in extremely handy.

like image 401
Martin Ba Avatar asked Jun 27 '11 09:06

Martin Ba


1 Answers

No, Oracle does not provide these files, neither for OCCI nor for OCI. (at least not for version 10, nor for 11)

The reason really escapes me, but trying to get behind any reasoning of Oracle is a sure road to insanity.

I should add a quote from the Oracle forums:

unfortunatly not - only in case of a bug support can request such symbol files from development Oracle ships only the debugging libraries which named *d.dll

This wasn't an official Oracle response, but I guess the user knew what he was talking about.

like image 86
Martin Ba Avatar answered Oct 03 '22 05:10

Martin Ba