• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exception while stepping in debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception while stepping in debugger


  • Subject: Re: Exception while stepping in debugger
  • From: John Clements <email@hidden>
  • Date: Mon, 7 Jun 2004 11:36:44 +1000

Yes, it is a Carbon application, and yes, inactivating Custom Data Display prevented the crash. But now I can't see certain key variable values. Sigh!! At least you are onto the problem.

Thanks,

John.

On 06/06/2004, at 5:47 PM, friesen wrote:

Does this problem reproduce if you turn off the Custom Data Display by unchecking the menu item in the Debug menu? Is this a Carbon application?

Cheers,
-ChrisF

On Jun 5, 2004, at 4:49 PM, John Clements wrote:

When I launch my application into the debugger it runs fine, but if I set a break point and step through code I occasionally get a malloc error (see below). It doesn't seem to be tied to a particular location in the code. It seems to happen when I step out of a function. Difficult to reproduce. I've tried launching my application using MallocDebug too, but it runs fine there too. Any clues? Could this be a problem with XCode, or is it a subtle problem in my code?


*** malloc[5142]: Deallocation of a pointer not malloced: 0x412f684; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Exception while stepping in debugger (From: John Clements <email@hidden>)
 >Re: Exception while stepping in debugger (From: friesen <email@hidden>)

  • Prev by Date: Re: Can't get debugger to stop at breakpoints in project
  • Next by Date: Re: debugging CLI stuff
  • Previous by thread: Re: Exception while stepping in debugger
  • Next by thread: Problem with custom build rules
  • Index(es):
    • Date
    • Thread