<div dir="ltr">Well I ended up modifying build.xml as per your suggestion. I added<div><br></div><div><div><span class="" style="white-space:pre"> </span><!-- Enable debugger on port 5005 --></div><div><span class="" style="white-space:pre"> </span><jvmarg value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" /></div></div><div><br></div><div>to the list of <jvmarg>'s in the test.ansi.compiled target. As for setting a breakpoint in the source automatically - what do you mean by automatically? I used IntelliJ IDEA to add them manually because I was interested in debugging Java code.</div><div><br></div><div>Now I get 33 failures, just like ABCL from SVN HEAD. Yay! :) Now on with the article...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 February 2016 at 13:59, Mark Evenson <span dir="ltr"><<a href="mailto:evenson@panix.com" target="_blank">evenson@panix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2/4/16 09:30, Alessio Stalla wrote:<br>
> Hi list,<br>
><br>
> in my local copy of ABCL I broke some ANSI tests related to packages and<br>
> that's not good. I'm lazy so I'm asking here: does someone have a ready<br>
> recipe to debug the ANSI tests, in particular to place breakpoints inside<br>
> ABCL's Java code while it is executing the tests? In the minute or so I<br>
> spent thinking about it before getting lazy, I couldn't figure out how to<br>
> pass the jdwp incantation to the JVM launched by Ant when testing.<br>
<br>
<br>
</span>As for setting a breakpoint in the source automatically, I think that<br>
would be trés cool, but have no practical suggestions. I would be very<br>
interested in sketching up an abstraction for this to start figuring out<br>
how do this.<br>
<br>
As for invoking JVM with JDWP messages, I am not exactly sure either,<br>
but the [`abcl.build.debug.jpda` ant target][1] shows how to do the<br>
simpler task of forking a JVM configured to communicate to a JPDA client<br>
which I think is the first step in getting to JDWP.<br>
<br>
[1]: <a href="http://abcl.org/trac/browser/trunk/abcl/build.xml#L590" rel="noreferrer" target="_blank">http://abcl.org/trac/browser/trunk/abcl/build.xml#L590</a><br>
<br>
Interested in hearing further progress from your side.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
"A screaming comes across the sky. It has happened before, but there<br>
is nothing to compare to it now."<br>
<br>
</font></span></blockquote></div><br></div>