[POLL] Do we need to preserve debugger watches between debug sessions?
Currently IDEA cleares watch list as soon as the corresponding toolwindow goes away. If toolwindow remains open, watched expressions
"survive" between debug sessions launched from this toolwindow.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
请先登录再写评论。
Make it configurable :)!
95% of the time what that information persists its just gets deleted.
However, if I am juggling allot of tasks it could be a week before I come
back to an item. In which case that information helps to refresh my memory.
If I had to vote:
Always persist(+1) or Never (-1) I would have to vote never. -1.
+1
I would love to see this. I agree that it would be nice to be configurable. Or at the very least include a "clear all" functionality so all previous watches could easily removed if no longer needed.
No
IMHO it would be much more useful to be able to drag a particular variable
instance from the normal variable view to the watch view to. Currently I
need to do that manually by setting a static variable and watch that.
+1 (yes).
;ted
"Eugene Zhuravlev (JetBrains)" <jeka@intellij.com> wrote in message
news:fphllq$7dp$1@is.intellij.net...
>
>
Eugene Zhuravlev (JetBrains) wrote:
I 'd like to have both:
When I am debugging a difficult problem I am probably running the application repeatedly.
Often times I am closing the debug toolwindow in between debug sessions (e.g. to make
Idea release file locks on log files - though you may consider that another bug).
Other times I'd like to start afresh with noo watches at all.
-1 for an option to configure if watches should be "persistent"
+1 for an easy way to clear all watches
+10 to fix other bugs first
- log files cannot be floated
- Idea resets the visible tab in the debugger view on each run
- closed sub-tool windows re-appear opened on next run, so that I have to close about eight of
them again and again and again
- step buttons are at an approximate position of 1800px horizontal if I have a couple of
log files opened (note that there are already several tomcat logs that Idea shows automatically)
I'm happy the way it is now.
I believe that are other areas in IDEA that would need the free effort that might be "wasted" on this new feature :).
Thank you,
Tom.
The current behavior matches very well the way I usually work:
I use watches only when hunting a difficult problem, where the same piece of code must be investigated several times. So having the watches persist as long as the toolwindow remains open is very convenient.
But I don't have any need for long time persistence. In the rare cases that I have to work on the same problem the next day again (i.e. after closing the toolwindow), it doesn't bothers me to have to recreate the same watches once again.
On the other hand losing all watches on every debug run would be quite annoying.
I'd love to see this - my first thought was even for grouped "watch
sets" similar to change lists.
That might be overkill thou.
On 2008-02-21 05:48:58 +1300, "Eugene Zhuravlev \(JetBrains\)"
<jeka@intellij.com> said:
The drag-and-drop functionality is implemented already (both from the editor to watches and from variables to watches)
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"Tom" <noname@jetbrains.com> wrote in message news:fphrr3$4sd$2@is.intellij.net...
Yes.
Can you really drag instances to the watches view?
yes
it's was introduced as part of the re-newed debugger ui, available in
7.0.3 eap builds
--
Kirill Kalishev
JetBrains, Inc.
http://jetbrains.com
"Develop with pleasure!"
+1
How about just implementing a "watch history" from which you can select expressions if you want to?
Regards,
Jens
Well, how to do it? I've dragged 'this' to the watches view, but it shows
not this particular object but any current instance.
Kirill, what am I doing wrong?
Sorry for the delay, I'm not quite getting what "any current instance" means
You can d'n'd entries from the variables view to the watch view. Isn't
that what you need?
On 2008-02-22 17:03:11 +0300, Tom <noname@jetbrains.com> said:
--
Kirill Kalishev
JetBrains, Inc.
http://jetbrains.com
"Develop with pleasure!"
Kirill Kalishev wrote:
>> Kirill, what am I doing wrong?
I think what he means is that he wants to watch the state of a specific
instance. I.e. he drags 'this' from the Variables view, which
currently refers to instance X. He wants the watches view to always
display the state of instance X even if he moves outside of the current
method or breaks on the breakpoint with 'this' being a different
instance. Essentially he is talking about dereferencing the 'this'
reference and watching the state of that instance rather than the value
of a variable.
AFAIK this isn't currently possible...
N.
Nathan, you hit the nail.
+1
During some debug sessions I rely on more than few watches and having
them lost is usually not what I want while I sometimes forget to not
close the toolwindow. So I would appreciate such functionality.
Eugene Zhuravlev (JetBrains) wrote:
I think "Inspect" on the node is what Tom needs...Once opened, the inspect window sticks to the particular instance
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
This is currently possible with ctrl-A and then Del
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
What you are talking about? I can't find a menu item "Inspect" in the
context menu of the debugger's "Variables" view.
Ah, I see, the existence of the "Inspect" menu item depends on the selected
node. For example, it is not available for the "this" node. BTW, why you
show it in a separate window wasting more screen space instead of adding it
to the "Watches" view? Why does it sometimes show "No debug information
available"?
Good point. Sometimes the obvious things aren't so obvious ;)
>to the "Watches" view?
Well, this can be a good improvement, thanks for the idea.
>Why does it sometimes show "No debug information available"?
Usually this message is shown when a corresponding exception is thrown on attempt to obtain debug data. Under what circumstances are
you able to see this?
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
+1 for persistent watches.
+1