[haiku-bugs] Re: [Haiku] #9841: Debugger: Avoid flickering when stepping

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 29 Jun 2013 15:23:48 -0000

#9841: Debugger: Avoid flickering when stepping
-------------------------------------+----------------------------
   Reporter:  stippi                 |      Owner:  anevilyak
       Type:  bug                    |     Status:  in-progress
   Priority:  normal                 |  Milestone:  R1
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  1                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by bonefish):

 When the stack trace is set to NULL, how about delaying the operation for
 a short time (e.g. 0.5 s)? When stepping, in most cases a new stack trace
 will be set long before the end of the delay. When running or stepping
 into a syscall that waits, I don't think the small delay will cause any
 confusion.

 Without looking at the source, I guess the implementation should be fairly
 straight forward. A BMessageRunner could be used for triggering the delay.
 Since most model objects in Debugger are referenceable anyway, it
 shouldn't be a problem too keep them a while longer than one would usually
 do.

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

Other related posts: