[haiku-commits] Re: haiku: hrev44960 - in src: apps/debugger/value/value_nodes apps/debugger/debug_info kits/support

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 05 Dec 2012 14:47:32 +0100

On 12/05/2012 03:17 AM, anevilyak@xxxxxxxxx wrote:
860c710: Add some additional BReferenceable debugging.

   - When libbe is built in debug mode, BReferenceable now issues a
     debugger call if it's destroyed without all references having been

This disallows to create objects of BReferenceable derived classes on the stack for which I don't see a reason. Maybe make the check more intelligent to detect whether the object is on the stack? Checking whether the object pointer is within a certain range of a local stack variable should usually work, making getting a thread info unnecessary in most cases.

CU, Ingo

Other related posts: