[haiku-bugs] Re: [Haiku] #9221: Breakpoints in dynamically loaded add-ons don't seem to be installed correctly

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Wed, 28 Nov 2012 13:19:57 -0000

#9221: Breakpoints in dynamically loaded add-ons don't seem to be installed
correctly
-------------------------------------+----------------------------
   Reporter:  anevilyak              |      Owner:  bonefish
       Type:  bug                    |     Status:  new
   Priority:  normal                 |  Milestone:  R1
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by anevilyak):

 The instance where I saw this by the way, the breakpoint would
 hypothetically have been hit almost immediately after add-on load:
 http://cgit.haiku-
 os.org/haiku/tree/src/kits/opengl/GLRendererRoster.cpp#n198 (the
 breakpoint was in the constructor of one of the add-ons in question, and
 would have been called via instantiate).

 This does make me wonder if it's possible that this is simply a race
 between us receiving the image load notification, loading debug
 information and installing the breakpoints vs the thread executing past
 where the breakpoint would've been before we make it that far. I'm a
 little unclear on when execution does/doesn't get suspended when these
 debug events come into play though.

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

Other related posts: