https://gerrit.libreoffice.org/#/c/57447/ Allows us to import data from Libreoffice Base to Calc. While working on this I made use of anumber of UNO interfaces for the dealing with ResultSet
Getting started To debug LibreOffice with GDB you need to build LibreOffice with debug symbols. You can either choose to build LO with symbols for the entire project or for selected modules. For building with symbols for the entire project you can use ./autogen.sh --enable-debug For building with symbols for specific modules ./autogen.sh --enable-debug --enable-selective-debuginfo = "sc/" More information for setting up GDB can be found here How to debug . Setting up pretty printers Basics Debugging boils down to the following set of actions: Set up a break point Run the program Step through the code Analyze the variables as you go Handling Crashes while debugging The most common reasons for crashes are either an exception occurred or an assertion failures. In case of Exceptions, you can stop GDB at the point where the exception occurred by setting up a breakpoint using catch throw and then analyze the backtrace (generated using bt ).
I work on an Ubuntu machine with 4GB RAM and Intel i5 processor. Every time I perform a build or run the debugger, the entire system slows down to a crawl making development slow and tedious. Hence I started looking for ways to speed up my system and came across LXDE desktop environment. Being lightweight, it consumes very less system resources. I was amazed at the performance boost I experienced and it sped up my code, build, debug cycle. If you are experiencing difficulties due to a slow system, I recommend switching to either LXDE desktop or using LUbuntu which comes natively with LXDE.
Working with Lireoffice during GSoC has been a great learning experience. It has helped me get better at C++ and taught me how real world applications are built. I also spent most of my time at the debugger rather than writing code which has helped me improve my debugging skills. It also taught me what a great tool git is for managing commits and has been helpful in more than one occasion. My mentors, and the Libreoffice community has been very helpful and have guided me whenever I got stuck. It feels good to be a part of such a great community. Below is a list of tasks that was done as part of the GSoC project and also a list of tasks that I wanted to, but could not finish during the period. Work Done Added Data Transformations https://gerrit.libreoffice.org/#/c/58152/ https://gerrit.libreoffice.org/#/c/58151/ https://gerrit.libreoffice.org/#/c/56886/ https://gerrit.libreoffice.org/#/c/56862/ https://gerrit.libreoffice.org/#/c/56780/ Added Base as a
Comments
Post a Comment