At 11:38 AM 2/28/00 -0500, Boyer,Galen wrote:
>I am using the jde and I like it.  What I don't know how to do is show
>things about objects and vectors.  For example, I have the following
>breakpoint:
>
>=>             while (objRS.next() == true)
>                   {
>                       NameValue newRow = new NameValue();
>                       newRow.setId(objRS.getInt(DBNames.LOOKUP_ID));
>       
>newRow.setDescription(objRS.getString(DBNames.LOOKUP_NAME));
>                       _vecReturn.addElement(newRow);
>                   }
>
>When the next function reaches:
>
>               while (objRS.next() == true)
>                   {
>                       NameValue newRow = new NameValue();
>                       newRow.setId(objRS.getInt(DBNames.LOOKUP_ID));
>       
>newRow.setDescription(objRS.getString(DBNames.LOOKUP_NAME));
>=>                     _vecReturn.addElement(newRow);
>                   }
>
>I can issue the the commands print newRow.id and newRow.description because
>these are defined in the NameValue object as variables, but I can't figure
>out how to display anything about the vector except something like the
>following:
>_vecReturn = [net.inka.util.NameValue@1f552e,
>net.inka.util.NameValue@1f6348, net.inka.util.NameValue@1f6345,
>net.inka.util.NameValue@1f6521, net.inka.util.NameValue@1f5d72]
>
>I need to be able to print something like _vecReturn.size or
>_vecReturn.newRow.id. 
>
>Is there a way to make this happen?
>


You're using jdb, right?

- Paul

------------------------------------------------------------
JDE mailing list archive: 
http://www.mail-archive.com/[email protected]/maillist.html

If you have a problem with the JDE, please use JDE->Help->Submit Problem
Report to prepare your query. This will insure that you include all
information that may be required to solve your problem.

Reply via email to