Results 1 to 3 of 3
  1. #1
    MasterD is offline Member
    Join Date
    Mar 2009
    Location
    Germany
    Posts
    22
    Rep Power
    0

    Question Debugging: How to Attach to another application (closed source)

    Summary: I'm trying to debug modules, which are added to another application where the sources are not available.

    A bit detail about my environment: Eclipse 3.4.2
    About my app:
    I have a main applikation where you can build plugins for (NO eclipse plugins). The main app is a bundle of some JAR files, whith a main method in one of the classes. When a plugin (basically another JAR file in a special folder) is added, this component is added to the main app without the need to recompile / have the sources of the main application.

    I need to have it possible that the user, which builds the plugin, can debug it's plugin. Though he doesn't have the sources of the main application.

    Edit: The target platform is Windows (XP) and Java SE Version 6.
    Last edited by MasterD; 04-09-2009 at 12:49 PM. Reason: More information

  2. #2
    MasterD is offline Member
    Join Date
    Mar 2009
    Location
    Germany
    Posts
    22
    Rep Power
    0

    Default

    Have I explained my problem too diffuse? Do you need more information for an answer? Is this debugging task not possible? Do I have to closely read the eclipse documentation?

    Please, this is really important to me.

  3. #3
    MasterD is offline Member
    Join Date
    Mar 2009
    Location
    Germany
    Posts
    22
    Rep Power
    0

    Default

    I was a bit off in to the wrong direction. I was already looking for a solution with the reflection api...

    Solution is, in my case, quite simple:
    Add the closed source jar files, start/debug the main application inside one of the jars, debug your plugin with breakpoints and everything :)

Similar Threads

  1. Replies: 1
    Last Post: 11-28-2008, 07:27 PM
  2. Socket Closed!
    By rameshraj in forum Networking
    Replies: 0
    Last Post: 05-06-2008, 11:11 AM
  3. Debugging Java Application in Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-22-2007, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •