[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Debugging Java interface to 3rd party .exe

exquisitus wrote:
Some clarification...
I'm using a CAD system (not written in Java) that allows synchronous Java applications to interface with it. The CAD system remains a parent to these interfacing Java applications, which are initially detected and started using its menus (i.e. closing the CAD system also closes the Java process). I want to debug my Java app, which requires I take control of the Java thread once it's been started by the CAD system. I guess this requires some command-line style flag in the CAD system script that starts the Java app. But what should that command be it order to start the Java app in debug mode within the Eclipse IDE?

There are specific parameters to pass to the JVM in order to run it in debug mode. You can Google for them. When the JVM is running in debug mode, you can use Eclipse to attach to that running process; Eclipse refers to this as "remote" debugging since the JVM is not running from Eclipse itself. Search the Help for "remote application launch" for the details setting it up.


Hope this helps,
	Eric