|
Hi, I'd like to do some debugging in integration tests. I have added <jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4241"/> in tests-that-require-db target in sipXconfig/neoconf/build.xml <target name="tests-that-require-db"> <junit fork="yes" forkmode="perBatch" haltonfailure="no" printsummary="on" failureproperty="junit.failed"> <jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4241"/> <classpath refid="test.path" /> <formatter type="plain" /> <formatter type="xml" /> <sysproperty key="basedir" value="${basedir}" /> <batchtest todir="${junit.results.dir}"> <fileset dir="${test.src.dir}"> <patternset refid="${test-pattern}" /> </fileset> </batchtest> </junit> <antcall target="failure-report"/> <fail if="junit.failed" /> </target> I run the integration test from the command line, the thread suspends, in Eclipse I launch the correctly configured debug configuration, which starts successfully, however it will not stop at any breakpoint, but at some point the suspended thread continues and the tests run. Am I missing something? Has anyone successfully made a debug on integration (or UI) tests? Thanks, Ciuc |
_______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
