Why does IntelliJ compile before a remote debug session

Hi everybody.

Just wondering why IntelliJ complies my code if i am to start an remote
debug session. does this make any sense?
Am i missing something?

Mike


4 comments

Uncheck the option "Make project before running/debugging" (you'll find it
above the OK button) in Project Properties/Run-Debug pane.

HTH,
Andrei

"Mike The Grey" <grey.death @gmx.net> wrote in message
news:b9g5oa$4nv$1@is.intellij.net...

Hi everybody.

>

Just wondering why IntelliJ complies my code if i am to start an remote
debug session. does this make any sense?
Am i missing something?

>

Mike

>
>


0

But that will disable this feature for all my debug/run configurations.

It does make sense to make the project before debugging it, but the
point is, it doesn't in a remote session, because the compiled code won't
be executed.

Mike

"Andrei Oprea" <aoprea@creditwave.com> wrote in message
news:b9gg5k$njv$1@is.intellij.net...

Uncheck the option "Make project before running/debugging" (you'll find it
above the OK button) in Project Properties/Run-Debug pane.

>

HTH,
Andrei

>

"Mike The Grey" <grey.death @gmx.net> wrote in message
news:b9g5oa$4nv$1@is.intellij.net...

Hi everybody.

>

Just wondering why IntelliJ complies my code if i am to start an remote
debug session. does this make any sense?
Am i missing something?

>

Mike

>
>

>
>


0

Yes, it's a legacy "feature" and we are going to change the behaviour for Remote configurations. But as soon as HotSwap is
available, I think the option will make sense even for Remote debug configuration. What do you think?

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Mike The Grey" <grey.death @gmx.net> wrote in message news:b9g5oa$4nv$1@is.intellij.net...

Hi everybody.

>

Just wondering why IntelliJ complies my code if i am to start an remote
debug session. does this make any sense?
Am i missing something?

>

Mike

>
>


0

Yes indeed, i didn't realize that this feature would be available in a
remote session.
It would be extremly useful.


"Eugene Zhuravlev" <jeka@intellij.com> wrote in message
news:b9olf8$lk7$1@is.intellij.net...

Yes, it's a legacy "feature" and we are going to change the behaviour for

Remote configurations. But as soon as HotSwap is

available, I think the option will make sense even for Remote debug

configuration. What do you think?
>

--

>

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"

>
>

"Mike The Grey" <grey.death @gmx.net> wrote in message

news:b9g5oa$4nv$1@is.intellij.net...

Hi everybody.

>

Just wondering why IntelliJ complies my code if i am to start an remote
debug session. does this make any sense?
Am i missing something?

>

Mike

>
>

>
>


0

Please sign in to leave a comment.