help in debug LibreOffice

Lionel Elie Mamane lionel at mamane.lu
Mon Jan 6 08:28:06 PST 2014


On Wed, Jan 01, 2014 at 03:43:45PM -0200, Olivier Hallot wrote:
> Em 01-01-2014 09:13, Miklos Vajna escreveu:
>> On Wed, Jan 01, 2014 at 08:33:53AM -0200, Olivier Hallot <olivier.hallot at documentfoundation.org> wrote:
>>> (gdb) b DataSourceTabPage::DataSourceTabPage

>> That class is in the chart namespace. You can try if "b
>> chart::DataSourceTabPage::DataSourceTabPage" works.

> Thanks Miklos, the namespace was the one to blame..

To avoid that kind of problems where I set a breakpoint on the wrong
name, I usually *first* run LibreOffice, loading all appropriate
modules (usually, opening the document is enough; else reproduce the
bug once) and *then* I set the breakpoint (just hit CTRL-C in the gdb
window, issue the "break" command and then "continue").

Then there is not need to make the breakpoint pending. If gdb asks to
do that, then I know the name is wrong :)

-- 
Lionel


More information about the LibreOffice mailing list