Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Debugging Java interface to 3rd party .exe
Debugging Java interface to 3rd party .exe [message #188920] Fri, 19 January 2007 02:26 Go to next message
Eclipse UserFriend
Originally posted by: adam.battson.righthemisphere.com

I'm writing a Java interface to a 3rd party CAD system. This will
facilitate modifications to model dimensions within their 3D environment.
I want to write my interface code in Eclipse, with (ideally) its debugging
process booting-up the CAD system so I can check message-passing. I assume
that somewhere within Eclipse's debug configuration I can set a path to
the CAD system .exe file. Is this possible? Where/how can I do this?
Re: Debugging Java interface to 3rd party .exe [message #189658 is a reply to message #188920] Wed, 24 January 2007 00:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam.battson.righthemisphere.com

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?
Re: Debugging Java interface to 3rd party .exe [message #189830 is a reply to message #189658] Wed, 24 January 2007 18:34 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

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
Previous Topic:Sharing source code across projects
Next Topic:What is "Unqualified access to the field"?
Goto Forum:
  


Current Time: Fri Apr 26 07:40:11 GMT 2024

Powered by FUDForum. Page generated in 0.08495 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top