Re: Data::Dumper for java
- From: horos11@xxxxxxxxx
- Date: Mon, 6 Apr 2009 19:36:58 -0700 (PDT)
well, re-implementing the world isn't really feasible, since there are
network rules about which machines attach to which, and that rules out
connections as well (everything is 3rd party hosted)..
But in any case, there are benefits of having a dumper object
regardless of the API you use, IMO. If the Serialization order is
reproducable (ie: the same objects always go to the same
representations) then you can do a visual diff against two objects and
get a concise idea of changes.
Or, you can store (in dev and test anyways) representations of objects
as they happen by external testing - ie: you can see at a glance what
data problems might cause a given bug to happen.
And of course, if the Serialization is both human and java writable
and human and java readable, you can use it to develop unit tests for
your application, sometimes many unit tests from one source.
So.. many uses, I would say.
Ed
On Apr 6, 1:59 pm, Mark Space <marksp...@xxxxxxxxxxxxxx> wrote:
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
Ah, so. Debugging then. Yes, this is the worst possible situation to
be in: debugging a problem without an adequate debugging harness.
Consider copying the code locally and reproducing the problem locally so
that you can attach a debugger.
Or bite the bullet and install whatever you need to debug on the server,
and attach to that. It's just a network connection.
Just curious: is your boss paying you by the hour for this? Or did you
get roped into it on a contract?
.
- Follow-Ups:
- Re: Data::Dumper for java
- From: Mark Space
- Re: Data::Dumper for java
- References:
- Data::Dumper for java
- From: horos11
- Re: Data::Dumper for java
- From: Mark Space
- Re: Data::Dumper for java
- From: ed . peschko
- Re: Data::Dumper for java
- From: Mark Space
- Data::Dumper for java
- Prev by Date: Re: updating an ImageIcon's backing BufferedImage content from multiple threads
- Next by Date: Re: Data::Dumper for java
- Previous by thread: Re: Data::Dumper for java
- Next by thread: Re: Data::Dumper for java
- Index(es):
Relevant Pages
|