Breakpoints

Daniel Bankston daniel.dev.libreoffice at gmail.com
Wed Jun 20 11:45:56 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120620/76a3a453/attachment.html>


More information about the LibreOffice mailing list