Hello,
I'm trying to run gdb on cppunit failing by following this:
to rerun just this failed test without all others, run:
make JunitTest_chart2_unoapi
cd into the module dir to run the tests faster
Or to do interactive debugging (non-Windows), run two shells with:
make debugrun
make gb_JunitTest_DEBUGRUN=T JunitTest_chart2_unoapi
So I open 2 console shells.
On first one, I run "make debugrun"
On second one, I run "make gb_JunitTest_DEBUGRUN=T JunitTest_chart2_unoapi"
But first one just always displays this:
Reading symbols from
/home/julien/compile-libreoffice/libreoffice/instdir/program/soffice.bin...done.
(gdb)
and that's all.
It must be obvious but I miss the point.
https://wiki.documentfoundation.org/Development/How_to_debug seems outdated
since it doesn't talk about this way. Moreover, I tried 'export
CPPUNITTRACE="gdb --args"' and it does nothing when running then 'make
JunitTest_chart2_unoapi' for example.
Any idea?
Julien
--
View this message in context:
http://nabble.documentfoundation.org/Question-about-debugging-cppunit-tests-tp4107499.html
Sent from the Dev mailing list archive at Nabble.com.
Context
- Question about debugging cppunit tests · julien2412
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.