tdf#157003: interactive Java unit test debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Developers,

I'd like to interactively debug the Java unit test JunitTest_sw_complex (CheckIndeterminateState.java) for further work on tdf#157003. Can anyone help me on how to do this?

In case of failing unit tests, the make process output after invoking "make JunitTest_sw_complex" suggests the following:
"Or to do interactive debugging, run two shells with:
    make debugrun
    make gb_JunitTest_DEBUGRUN=T JunitTest_sw_complex"

However "make gb_JunitTest_DEBUGRUN=T JunitTest_sw_complex" results in a virtually never ending make process for me. I tried this few times and canceled it after several hours without visible progress.

Also I tried to run JunitTest_sw_complex inside GDB in different ways, without success. However, I'm wondering if GDB is able to debug Java [1].
I also tried to use JDB instead of GDB but got stuck with making the unit test run inside JDB.

Can anyone help me how to interactively debug Java unit tests for LibreOffice?

Many thanks for your help + best Regards,
Martin

P.S.: please excuse me in case you got this mail twice. I already sent it yesterday, however it appeared like not properly sent.

[1] https://www.sourceware.org/gdb/

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux