This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 154947 - "Local variables" window should show anonymous return values
Summary: "Local variables" window should show anonymous return values
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-08 16:14 UTC by pjulien
Modified: 2008-12-08 16:20 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pjulien 2008-12-08 16:14:58 UTC
A feature that I solely miss from visual studio is the ability to see the returned value of a function that is not kept
in a variable.

For example:

b.readLine(); // throw away value

When single stepping, it may be sometimes useful to see what the function returned here.  After stepping over
readLine(), VS shows "@ b.readLine()" in the local variables window with the value returned by the function.
Comment 1 Martin Entlicher 2008-12-08 16:20:51 UTC
There's no support for this in JDI, therefore we can not implement this sort of functionality.

If there happens something like this to be implemented in JDI, we can add support for that. Currently we have to way to
find this returned value.