[haiku-bugs] Re: [Haiku] #9946: Debugger: Highlight most recently changed variables

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Thu, 05 Sep 2013 12:02:56 -0000

#9946: Debugger: Highlight most recently changed variables
   Reporter:  stippi                 |      Owner:  anevilyak
       Type:  enhancement            |     Status:  new
   Priority:  low                    |  Milestone:  Unscheduled
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
Changes (by anevilyak):

 * cc: bonefish (added)


 In and of itself, this shouldn't actually be all that difficult, there's
 essentially just one hurdle, and one question that needs clarifying. The
 latter is simply, would newly declared variables count as such a change or
 not? e.g. when stepping into a new lexical block such as an if, where a
 declared variable comes into scope for the first time.

 The main hurdle is that, currently, Debugger lazily fetches variable
 values as the user actually asks to look at them, e.g. a class's member
 values aren't actually retrieved until you first click to expand it. As
 such, in order to implement this enhancement that behavior would have to
 be somewhat changed, so as to have the requisite values to compare between
 steps. This then begs the question of what depth to limit that behavior to
 though, since part of the reason for the current behavior is to prevent
 issues with e.g. doubly linked lists where one can potentially follow
 nested member links forever.

Ticket URL: <http://dev.haiku-os.org/ticket/9946#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: