Karr, David writes: > I assume "attach" mode is further down the road, for either jdb or > Jdebug mode? >
I don't know why I bother writing documentation for the JDEE. > One question about functionality: In either debugger, is it possible > now, or expected, that if you get to a point where you're viewing the > value of a ByteArrayOutputStream, to be able to dynamically view the > contents as String (essentially view "new String(baos.toByteArray())")? Ditto the above. Paul > > > -----Original Message----- > > From: Paul Kinnucan [mailto:[EMAIL PROTECTED] > > Sent: Thursday, December 02, 2004 10:15 AM > > To: Karr, David > > Cc: [EMAIL PROTECTED] > > Subject: Debugging remote 1.4.2 jvm > > > > > > Karr, David writes: > > > I've decided to try experimenting with the jde debugger to > > see if it has > features that make it worth using over netbeans. > > > > I first set "jde-debugger" to "Jdebug" in customize. > > Should I be using > Jdebug for this, or "jdb"? > > > > > I'd start with using the JDEE's interface to jdb. I revised > > the JDEE's debug infrastructure recently and ported jdb to > > use the new infrastructure. Still to be done is to port > > JDEbug. The jdb interface appears to be pretty solid based on > > my use of it. > > > > I've been using it to debug an XML application. This requires > > putting the debugger in listen mode and then starting the > > other application. It works very nicely. I am able to step > > through the code and examine variable values. > > > > Paul > > > > > > > I'm not certain exactly what I'm supposed to set up now. > > > > > > I see the user guide mentions setting the "location of the > > JPDA > libraries". It has examples for JDK 1.3 and 1.2.2, > > but not 1.4.x. The > customize info for that variable > > specifically says you only need to set > this variable for a > > 1.2 JVM. > > > > The "jre home" variable seems to be needed if I start the > > debuggee > through the debugger. I'm not. I'm only going > > to be remotely > connecting, so it appears that I wouldn't > > set that variable. > > > > I set the "Server Socket" variable to the JPDA port my > > debuggee is > configured for. The customize info for this > > variable seems ambiguous > whether this is the correct > > variable to set. > > > > At this point, the contents of the "Attach Process" menu > > is grayed out, > so I can't select a server to connect to. > > > >
