[haiku-bugs] Re: [Haiku] #8096: [Debugger] crashes in TeamDebugger::~TeamDebugger ()

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Mon, 07 Nov 2011 02:29:12 -0000

#8096: [Debugger] crashes in TeamDebugger::~TeamDebugger ()
-------------------------------------+----------------------------
   Reporter:  diver                  |      Owner:  anevilyak
       Type:  bug                    |     Status:  closed
   Priority:  normal                 |  Milestone:  R1
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:  fixed                  |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------
Changes (by anevilyak):

 * status:  in-progress => closed
 * resolution:   => fixed


Comment:

 Fixed in r43208. The debugger can't actually debug its own team directly
 since that would block itself from executing(one needs two instances of
 the debugger running in order to do that). This resulted in initialization
 of the debugger interface terminating early, which wasn't correctly being
 handled in its destructor, which is now fixed. However, this situation
 should probably be handled a bit better as far as user feedback goes,
 since right now, double clicking it will do absolutely nothing.

 Two possibilities come to mind: 1) The team should be grayed out/marked
 not selectable in the Teams window, or 2) Double clicking it should
 present a warning to the user indicating that the team is not debuggable.
 I would prefer the first of the two myself, opinions welcome.

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

Other related posts: