Reputation: 36644
With Delphi I wrote a DLL which can be called from Java via JNA (Java Native Access). Methods in this DLL are just simple operations, but for future use and more complex invocations I would like to know how I can use the Delphi debugger, if the DLL is called from Java directly (or from the Java IDE).
Upvotes: 4
Views: 1127
Reputation: 9004
I believe the answer for this question would be the same as for Stack Overflow question How to debug a DLL file in Delphi.
In fact, since you debug the Delphi's DLL file within a Delphi environment, it does not matter who is in the higher of the call stack.
Upvotes: 4
Reputation: 36644
It works if I define the host application (Java) and set the correct arguments:
The JUnit text TestRunner command line arguments are explained here: http://junit.sourceforge.net/junit3.8.1/javadoc/junit/textui/TestRunner.html
Upvotes: 0