Re: Data::Dumper for java
- From: cbossens73@xxxxxxxx
- Date: Tue, 7 Apr 2009 02:02:21 -0700 (PDT)
On Apr 6, 9:35 pm, ed.pesc...@xxxxxxxxx wrote:
yes, if you can get that ability inside of jdb, let me know. And I
don't have access to x11 on the place where I need to run the code, so
if you know how to run code on a server, serialize input and output
via an ssh shell, and get the output into an intellij/eclipse IDE, I'd
love to know that too. Use an IDE is great as long as you have access
to an IDE.
Unless I'm mistaken remote debugging and remote profiling in Java
can easily be done from your IDE / Debugger / Profiler. You can
connect to a remote headless server.
For remote profiling it's trivial, I do it regularly.
This is really one of these area where Java shines
compared to other languages. It's not that "Java the
language" is that great (it's OK but it has a few
warts) but the APIs and 3rd party APIs are great and,
most notably, "Java the virtual machine" is a wonderful
piece of engineering.
Google for JVMTI (since 1.5 AFAIR):
http://java.sun.com/javase/6/docs/technotes/guides/jvmti/
Note that I'm not saying there's no use for what your
asking: what you're asking still looks like a good idea.
But to do "remote debugging on a headless server", there's
really no need to "run the code on a server,
serialize IO via an ssh shell, and get the output
in an intellij/eclipse IDE" [sic].
That's the kind of hackery needed with other, less
well-tought, technologies.
You're talking about SSH so if security is an issue you
can always tunnel the port(s) used for remote debugging/
profiling using SSH.
Charles.
.
- References:
- Data::Dumper for java
- From: horos11
- Re: Data::Dumper for java
- From: Mark Space
- Re: Data::Dumper for java
- From: ed . peschko
- Data::Dumper for java
- Prev by Date: Re: Problem with InputStream & Process
- Next by Date: Re: alternative to my ClassLoader hack
- Previous by thread: Re: Data::Dumper for java
- Next by thread: Re: Data::Dumper for java
- Index(es):
Relevant Pages
|