<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
Hi Developers,<br>
<br>
I'd like to interactively debug the Java unit test
JunitTest_sw_complex (CheckIndeterminateState.java) for further work
on <span class="headerSubject">tdf#157003</span>. Can anyone help
me on how to do this?<br>
<br>
In case of failing unit tests, the make process output after
invoking "make JunitTest_sw_complex" suggests the following:<br>
"Or to do interactive debugging, run two shells with:<br>
make debugrun<br>
make gb_JunitTest_DEBUGRUN=T JunitTest_sw_complex"<br>
<br>
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.<br>
<br>
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]. <br>
I also tried to use JDB instead of GDB but got stuck with making the
unit test run inside JDB.<br>
<br>
Can anyone help me how to interactively debug Java unit tests for
LibreOffice?<br>
<br>
Many thanks for your help + best Regards,<br>
Martin<br>
<p>P.S.: please excuse me in case you got this mail twice. I already
sent it yesterday, however it appeared like not properly sent.<br>
</p>
[1] <a class="moz-txt-link-freetext" href="https://www.sourceware.org/gdb/">https://www.sourceware.org/gdb/</a><br>
</body>
</html>