Re: Data::Dumper for java



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?

.



Relevant Pages

  • Re: VS2005, Debugging my CustomInstaller.dll
    ... to "Attach a Process", MSIEXEC.EXE, for debugging. ... x86" and now you can attach this process for debugging. ... CustomInstaller.dll during the app's Uninstall process. ... my CustomInstaller code. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: vkernel & GSoC, some questions
    ... Can't you say qemu -s and attach gdb to that port as well? ... printf debugging was sufficient for me so far. ... Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. ...
    (freebsd-hackers)
  • RE: Anyone else seeing this kind of debugger hang?
    ... Open a second Visual studio and attach the debugger to ... Now start debugging your project. ... >>Regards, Walter ... > other times depending on ...
    (microsoft.public.vsnet.debugging)
  • Re: Microsoft CLR Debugger in Compact dot net framework
    ... I use Visual Studio 2005 for development and it allows to run a PPC ... application in debug mode and do everything as if you ... attach the debugger to the process. ... debugging features are now probably exceeding those in WinDbg. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Fixed device names for incoming Telnet connections?
    ... >>connections based on, say, the IP address of the originating interface? ... >>and of course specify the Whatever and anything else to tell the Telnet ... attach to TNBn: worth investigating? ...
    (comp.os.vms)