Libreoffice and GDB

Luboš Luňák l.lunak at collabora.com
Wed Feb 2 09:14:40 UTC 2022


On Tuesday 01 of February 2022, Israel wrote:
> Good morning,
>
> I am starting to fix some bugs in LibreOffice, I have followed the GDB
> instructions on the page; however when I use the "layout next"
> command, I can't see the lines of code that are being executed or the
> process of my breakpoints. Usually I only see lines that say: Thread
> 0x000 Is there any way to do this or do you have any manual to see the
> lines of code that are being executed in real time?

 Which page would that be? 
https://wiki.documentfoundation.org/Development/How_to_debug does not say 
anything about "layout next". If you want to debug LO, you first need to make 
sure you have debug symbols, as described on the page I linked. Then if you 
want to use GDB TUI, you need to enable it properly, as described at 
https://sourceware.org/gdb/onlinedocs/gdb/TUI.html .

-- 
 Luboš Luňák
 l.lunak at collabora.com


More information about the LibreOffice mailing list