Re: Help Required In Writing a New SDBC Driver For LDAP

Ocke Janssen <[email protected]> Mon, 28 Mar 2011 09:46:24 +0200
Newsgroups gmane.comp.openoffice.dba.devel
Message-ID <[email protected]>
Hi,

On 26.03.2011 06:47, Rohit Kulkarni wrote:
> Hello,
> I have successfully built skeleton driver and I can see it in available
> list.
> Now , I tried to debug it using gdb. For this I followed instructions o=
n
> http://wiki.services.openoffice.org/wiki/Debugging
> Build using debug=3Dtrue and copied .so files to installation set.
>
> I added a breakpoint at
> connectivity::skeleton::SkeletonDriver::acceptsURL then,
> run base -> select Skeleton Driver -> Datasource url window appears
> (typed any string in it) -> saved ->finish
> In this process debugger wont stop at breakpoint.
>
> Another thing is that I added breakpoint at
> connectivity::flat::ODriver::acceptsURL then, all same steps above.
> Debugger stopped at breakpoint where I can see flat file EDriver.cxx
> code with acceptsURL function.
>
> So, do you have any idea why it wouldn't call
> connectivity::skeleton::SkeletonDriver::acceptsURL function?
May be you copied the wrong files or you built them not with debug=3Dt ?=20
When you can set a break point for flat it should also work for your=20
driver. No guess so far. Or may be set the break point when the library=20
was loaded. I'm not the gdb expert.

- oj

>
> Regards,
> Rohit
> On Tue, Mar 15, 2011 at 11:53 AM, Ocke Janssen <[email protected]
> <mailto:[email protected]>> wrote:
>
>     On 14.03.2011 18:45, Rohit Kulkarni wrote:
>
>         I could successfully built the skeleton driver and now I can se=
e
>         it in
>         the list of available drivers as well!
>         Thanks a lot for your help. I really appreciate it.
>
>     :-)
>
>
>         I have a quick question.
>
>
>
>         Any idea on how to solve this?
>
>     No, sorry. I think that's a question for the normal
>     [email protected] <mailto:[email protected]> list. May be a build
>     problem or a bug.
>
>
>         Also, Now, if I make any changes to the skeleton driver, do I
>         have to
>         build and install open office every time?
>
>     No, just replace your copy of the .so file in your office installat=
ion.
>
>     - oj
>
>
>     --
>
>
>     Ocke Janssen | Software Developer
>     Phone: +40 23646500
>     Oracle Office
>
>     ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg
>
>     ORACLE Deutschland B.V. & Co. KG
>     Hauptverwaltung: Riesstr. 25, D-80992 M=FCnchen
>     Registergericht: Amtsgericht M=FCnchen, HRA 95603
>
>     Komplement=E4rin: ORACLE Deutschland Verwaltung B.V.
>     Rijnzathe 6, 3454PV De Meern, Niederlande
>     Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
>     Gesch=E4ftsf=FChrer: J=FCrgen Kunz, Marcel van de Molen, Alexander =
van der Ven
>
>
>
>     Oracle is committed to developing practices and products that help
>     protect the environment
>
>     --
>     -----------------------------------------------------------------
>     To unsubscribe send email to [email protected]
>     <mailto:[email protected]>
>     For additional commands send email to [email protected]
>     <mailto:[email protected]>
>     with Subject: help
>
>

--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help