Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » view / inspect return value after step out / return like Visual Studio
view / inspect return value after step out / return like Visual Studio [message #233066] Thu, 20 July 2006 12:57 Go to next message
Eclipse UserFriend
Originally posted by: bill.mcdonald.avnet.com

In Visual Studio, the debugger always listed the return value(s) from a
method call right after you did a step out / return. It disapears upon the
next 'step' command.

In eclipse it seems, I have to highlight the method call, and then evaluate
the expression or inspect it with ctrl-shift-I.

This gets tedious in Eclipse and I prefer that the return values display
automatically and then go away like they do in the Visual Studio debugger.
I usually step into and then return right away just to make sure that the
values I expect from the method call are correct. I don't like the way the
UI makes me highlight things all the time. Although this feature is useful
for expression inspection, the automation of return values is very useful.

Am I missing something about Eclipse? Does it already have this (or
similarly automated) functionality? If so, what is it? If not, is there a
plug-in (I'm using IBM RAD actually) that would offer the UI behavior I'm
looking for?

TIA
Re: view / inspect return value after step out / return like Visual Studio [message #233114 is a reply to message #233066] Fri, 21 July 2006 13:03 Go to previous message
Eclipse UserFriend
Historically this has been because java (JPDA specifically) didn't
provide the return values. There's an enhancement request for this
feature already. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=75519
for the details.
Kevin


Bill wrote:
> In Visual Studio, the debugger always listed the return value(s) from a
> method call right after you did a step out / return. It disapears upon the
> next 'step' command.
>
> In eclipse it seems, I have to highlight the method call, and then evaluate
> the expression or inspect it with ctrl-shift-I.
>
> This gets tedious in Eclipse and I prefer that the return values display
> automatically and then go away like they do in the Visual Studio debugger.
> I usually step into and then return right away just to make sure that the
> values I expect from the method call are correct. I don't like the way the
> UI makes me highlight things all the time. Although this feature is useful
> for expression inspection, the automation of return values is very useful.
>
> Am I missing something about Eclipse? Does it already have this (or
> similarly automated) functionality? If so, what is it? If not, is there a
> plug-in (I'm using IBM RAD actually) that would offer the UI behavior I'm
> looking for?
>
> TIA
>
>
>
>
>
>
>
Previous Topic:problem connecting to cvs
Next Topic:final modifiers in method parameters
Goto Forum:
  


Current Time: Wed Jul 16 14:11:28 EDT 2025

Powered by FUDForum. Page generated in 0.07422 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top