How does remote debugging work in #939 ?

Hi,

Maybe my brain is nor working properly but I can't figure out out to
make remote debugging work in #939. I create a remote configuration in
attach mode and then when I press the Run button, the Run configuration
dialog pops up and it wants me to select an application to run?! The
whole point is that I'm going to run the application remotely.

Thanks,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

4 comments
Comment actions Permalink

You'll kick yourself when you hear this. :)

You can only debug a remote process, not run it, so you just need to hit
the debug button instead. You must have already started the remote process
in whatever way is appropriate for it, of course.

Hope that helps,
Vil.


Gordon Tyler wrote:

Hi,

Maybe my brain is nor working properly but I can't figure out out to
make remote debugging work in #939. I create a remote configuration in
attach mode and then when I press the Run button, the Run configuration
dialog pops up and it wants me to select an application to run?! The
whole point is that I'm going to run the application remotely.

Thanks,
Gordon


--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

0
Comment actions Permalink

Vilya Harvey wrote:

You'll kick yourself when you hear this. :)

You can only debug a remote process, not run it, so you just need to
hit the debug button instead. You must have already started the remote
process in whatever way is appropriate for it, of course.


kicks self

Thanks,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0
Comment actions Permalink

Gordon Tyler wrote:

Vilya Harvey wrote:

>> You'll kick yourself when you hear this. :)
>>
>> You can only debug a remote process, not run it, so you just need
>> to hit the debug button instead. You must have already started the
>> remote process in whatever way is appropriate for it, of course.


kicks self


Can't we let IDEA kick off the remote process if possible? I.e. we
tell it the java startup command, and IDEA makes it happen?

0
Comment actions Permalink

If you're debugging against a tomcat instance running on the local machine,
yes you can - via the current web-app support you have the choice of
starting a new tomcat instance each time, or connecting to one that's
already running. Otherwise, the answer is no. As an alternative, your best
option is probably to define either an external tool or an ant target for
the startup command that you need.

Hope that helps,
Vil.

Berin Loritsch wrote:


Can't we let IDEA kick off the remote process if possible? I.e. we
tell it the java startup command, and IDEA makes it happen?


--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

0

Please sign in to leave a comment.