Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 06/20/2012 01:42 PM, Daniel Bankston wrote:
On 06/20/2012 12:55 PM, Joel Madero wrote:
I think this is a basic question but how do I go about putting on breakpoints and then how do I "use" the breakpoints to determine things like what variables are being called on? This stems from a previous email where someone suggested doing the following to locate rotating text:

/...Or maybe run around to the other side where the text actually gets drawn to screen in vcl/unx/generic/gdi/salgdi3.cxx and put breakpoints on the two cairo_matrix_rotate calls and examine the backtrace then to see where it all comes from./
/
/
Thanks in advance, learning as I go.


Joel

Hi, Joel,

From RMS himself: http://www.unknownroad.com/rtfm/gdbtut/gdbbreak.html

Markus let me know about this handy cheat sheet: http://darkdust.net/files/GDB%20Cheat%20Sheet.pdf


--Daniel Bankston

Also take a lot at this about gdb and libo if you haven't already: https://wiki.documentfoundation.org/Development/How_to_debug

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.