Re: Help Required In Writing a New SDBC Driver For LDAP
Rohit Kulkarni <[email protected]> Sat, 26 Mar 2011 11:17:35 +0530
| Newsgroups | gmane.comp.openoffice.dba.devel |
|---|---|
| Message-ID | <[email protected]> |
--0015176f1bae5fd9b0049f5c3fe5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 on 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? Regards, Rohit On Tue, Mar 15, 2011 at 11:53 AM, Ocke Janssen <[email protected]>wro= te: > On 14.03.2011 18:45, Rohit Kulkarni wrote: > >> I could successfully built the skeleton driver and now I can see 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]= t. 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 installation. > > - 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 de= r Ven > > > > Oracle is committed to developing practices and products that help protect > the environment > > -- > ----------------------------------------------------------------- > To unsubscribe send email to [email protected] > For additional commands send email to [email protected] > with Subject: help > -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help --0015176f1bae5fd9b0049f5c3fe5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,<br>I have successfully built skeleton driver and I can see it in ava= ilable list.<br>Now , I tried to debug it using gdb. For this I followed in= structions on <a href=3D"http://wiki.services.openoffice.org/wiki/Debugging= ">http://wiki.services.openoffice.org/wiki/Debugging</a><br> Build using debug=3Dtrue and copied .so files to installation set.<br><br>I= added a breakpoint at connectivity::skeleton::SkeletonDriver::acceptsURL t= hen,<br>run base -> select Skeleton Driver -> Datasource url window a= ppears (typed any string in it) -> saved ->finish <br> In this process debugger wont stop at breakpoint.<br><br>Another thing is t= hat 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.<br> <br>So, do you have any idea why it wouldn't call connectivity::skeleto= n::SkeletonDriver::acceptsURL function?<br><br>Regards,<br>Rohit<br><div cl= ass=3D"gmail_quote">On Tue, Mar 15, 2011 at 11:53 AM, Ocke Janssen <span di= r=3D"ltr"><<a href=3D"mailto:[email protected]">Ocke.Janssen@oracl= e.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class=3D"im"= >On 14.03.2011 18:45, Rohit Kulkarni wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> I could successfully built the skeleton driver and now I can see it in<br> the list of available drivers as well!<br> Thanks a lot for your help. I really appreciate it.<br> </blockquote> :-)<br> </div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex;= border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class= =3D"im"> <br> I have a quick question.<br> <br> <br> <br></div><div class=3D"im"> Any idea on how to solve this?<br> </div></blockquote> No, sorry. I think that's a question for the normal <a href=3D"mailto:d= [email protected]" target=3D"_blank">[email protected]</a> list. May be a = build problem or a bug.<div class=3D"im"><br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <br> Also, Now, if I make any changes to the skeleton driver, do I have to<br> build and install open office every time?<br> </blockquote></div> No, just replace your copy of the .so file in your office installation.<br> <br> - oj<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <br> </blockquote> -- <br> <br> <br> Ocke Janssen | Software Developer<br> Phone: +40 23646500<br> Oracle Office<br> <br> ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg<br> <br> ORACLE Deutschland B.V. & Co. KG<br> Hauptverwaltung: Riesstr. 25, D-80992 M=FCnchen<br> Registergericht: Amtsgericht M=FCnchen, HRA 95603<br> <br> Komplement=E4rin: ORACLE Deutschland Verwaltung B.V.<br> Rijnzathe 6, 3454PV De Meern, Niederlande<br> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697<br> Gesch=E4ftsf=FChrer: J=FCrgen Kunz, Marcel van de Molen, Alexander van der = Ven<br> <br> =A0 =A0 =A0 =A0<br> <br> Oracle is committed to developing practices and products that help protect = the environment<div><div></div><div class=3D"h5"><br> --<br> -----------------------------------------------------------------<br> To unsubscribe send email to <a href=3D"mailto:[email protected]= ce.org" target=3D"_blank">[email protected]</a><br> For additional commands send email to <a href=3D"mailto:[email protected]= e.org" target=3D"_blank">[email protected]</a><br> with Subject: help<br> </div></div></blockquote></div><br> --0015176f1bae5fd9b0049f5c3fe5--