Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Java debugger variables view
icon4.gif  Java debugger variables view [message #1706256] Tue, 25 August 2015 11:35 Go to next message
Chen Engel is currently offline Chen EngelFriend
Messages: 5
Registered: August 2015
Junior Member
Hi, everyone.
I am having trouble with variables when debugging my Java project.
When debugging a project, all variables appear collapsed. When so, it's impossible to view all the relevant information regarding them, like, for example, seeing changed ones, related objects variables and more.
Every step into action requires a manual expand, even when returning to the same variable. (Expand not being saved)
I tried googling an answer, and searching this forum, but couldn't find any solution to this issue.
Is there any way to set the debugger behavior, so that all variables appear expanded, or at least auto expand the relevant variable being viewed?
Thank you
Re: Java debugger variables view [message #1706309 is a reply to message #1706256] Tue, 25 August 2015 14:58 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3799
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/25/2015 05:35 AM, Chen Engel wrote:
> Hi, everyone.
> I am having trouble with variables when debugging my Java project.
> When debugging a project, all variables appear collapsed. When so, it's
> impossible to view all the relevant information regarding them, like,
> for example, seeing changed ones, related objects variables and more.
> Every step into action requires a manual expand, even when returning to
> the same variable. (Expand not being saved)
> I tried googling an answer, and searching this forum, but couldn't find
> any solution to this issue.
> Is there any way to set the debugger behavior, so that all variables
> appear expanded, or at least auto expand the relevant variable being
> viewed?
> Thank you

I've noticed the same frustration. I would point out that this same
frustration exists in IntelliJ too.

To motivate a change like this, you would need to submit a Bugzilla
issue to Eclipse, the Java Debugger. Then you would need to shepherd
interest for it and probably participate actively in the discussion.

I can't imagine that this hasn't been noticed and discussed before and
that there are some good reasons that have caused a decision not to
offer this functionality. My assumption is the reason I have not myself
done this.

I would up-vote any attempt by you to promote this feature, though.

Hope this helps explain the process.
Re: Java debugger variables view [message #1747595 is a reply to message #1706309] Wed, 16 November 2016 11:48 Go to previous message
Davide Vecchi is currently offline Davide VecchiFriend
Messages: 31
Registered: July 2009
Member
I do share the same frustration and I know many of my colleagues do. Actually I find it hard to imagine anyone doing Java debug in Eclipse and preferring this feature in the way it is now rather than in the way proposed here. My preferred flavor for this would be that it initially shows all collapsed just like it does now, but once the user manually expands something, that expansion sticks, that is whenever that same object is shown again it is shown in the same collapsed or expanded state it was the previous time.

However - as a workaround - using the Expressions view instead, which I almost always do for this very reason, is a more than acceptable surrogate for this need at least in my case. I enter there all the object fields that I want to be able to watch without having to click all the time to expand, and that does the trick for me.

[Updated on: Wed, 16 November 2016 11:52]

Report message to a moderator

Previous Topic:How to integrate new programming language
Next Topic:Trouble downloading Eclipse
Goto Forum:
  


Current Time: Mon Jun 18 13:52:42 GMT 2018

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

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

Back to the top