Yes, it can be slow and it requires some set up. I see this as a feature:
make it possible but not easy (I'm not saying it can be made easier, it's
probably the best that can be done today).

The truth is that live debugging production servers should hardly ever be
undertaken. If at all. It's really silly to even think this is an
acceptable way to fix production servers and when I see this argument being
offered to support a language (looking at you Erlang and Smalltalk), it
just makes me wonder whether its proponents have ever dealt with production
servers at all.

-- 
Cédric


-- 
Cédric



On Tue, Feb 25, 2014 at 9:17 PM, phil swenson <phil.swen...@gmail.com>wrote:

> well that’s what I do usually…. I just think there is a better way.
>
> Using a remote debugger requires having the exact version of code checked
> out and the project set up in  your IDE.   Also - can you do anything
> without setting a breakpoint?  remote debugging is also very slow if the
> box is remote.  I’m thinking ssh to a box and run a repl to an existing
> process.
>
>
> On Tue, Feb 25, 2014 at 8:43 PM, Cédric Beust ♔ <ced...@beust.com> wrote:
>
>> On Tue, Feb 25, 2014 at 6:03 PM, phil swenson <phil.swen...@gmail.com>
>> wrote:
>>
>> it sure would be nice to attach a REPL into a running java process and
>>> inspect/modify state…
>>
>> How is that different from launching your process with -Xrunjdwp and
>> attaching a remote debugger to it?
>>  --
>> Cédric
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Java Posse" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to javaposse+unsubscr...@googlegroups.com.
>> To post to this group, send email to javaposse@googlegroups.com.
>> Visit this group at http://groups.google.com/group/javaposse.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Java Posse" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to javaposse+unsubscr...@googlegroups.com.
> To post to this group, send email to javaposse@googlegroups.com.
> Visit this group at http://groups.google.com/group/javaposse.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to