Remote Debugging Without Pre-configuration

Discussion in 'Java' started by segevb, Jan 15, 2007.

  1. segevb

    segevb Guest

    Hi guys,

    How can I debug from a remote computer, without making any
    pre-configurations on the server side.
    I.e. I want to run the application normally, without any special
    parameters, on machine X, and then, when a problem occurres, to connect
    to X from machine Y, and debug the application.

    All I found until now, is that I can do it only if I run the
    application with specific parameters.
    Anybody knows something else?

    10x,
    Segev
     
    segevb, Jan 15, 2007
    #1
    1. Advertisements

  2. You can't.
    If a Java VM would accept debug connections without specific start options,
    it would open a big security hole.
    Every Tom, Dick and Harry would be able to hack into running Java-based
    servers (of Ebay, online-banks, etc.) to do their forgery.
    Is it that what you plan to do?
     
    Thomas Fritsch, Jan 15, 2007
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.