At 03:30 PM 1/6/00 -0600, Rich Johns wrote:
>nt4.4
>jde2.16beta15
>jdk1.22
>emacs20.4
>
>In the middle of a debug session I want to inspect an object. So I
>position
>the mouse over the object's name and ask to display variable, the
>intention being to
>get the object's id. Here is the code in which I position the mouse over
>
>"tabInfo":
>
> schema = tabInfo.getAllColumns();
>
>Here is the error resulting:
>
> Error: cannot evaluate "tabInfo.getAllColumns()".
>
>It looks to me like it's not discerning that I meant only "tabInfo" and
>as such thinks I'm asking to
>evaluate an expression.
>
The Display Variable implementation is a quick-and-dirty one that relies on
some existing C-oriented parsing function to determine the symbol under the
cursor. Clearly this function does not understand Java syntax for qualified
symbols. My plan is to provide a more robust implementation ASAP.
Meanwhile, you can get the object ID, using the JKDBug->Evaluate Expression
command. Simply evaluate "tabInfo". In fact, that is how the Display
Variable command works. It simply evaluates the symbol at point.
- Paul