[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:47:11 -0000

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

 * owner:  bonefish => anevilyak
 * status:  new => assigned


Comment:

 Replying to [comment:2 bonefish]:
 > This is likely the cause. Have a look at how
 `TeamDebugger::_HandleDebuggerMessage()` handles
 `B_DEBUGGER_MESSAGE_IMAGE_CREATED`. After the `LoadImageDebugInfoJob` is
 scheduled the thread is continued immediately. If there's a breakpoint in
 this image, we'll have to keep the thread blocked until the image debug
 info has been loaded and the breakpoints have been installed.

 Aha...will dig into that, thanks!

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

Other related posts: