To add a breakpoint on malloc_error_break do command 7 which shows the break points in the navigator view. At the bottom of the view is a plus button. Click the button. Then select Add Symbolic Breakpoint... From the menu.
Enter malloc_error_break in the symbol text field and hit return. Done. Kevin Sent from my iPad > On 14 Oct 2015, at 13:59, Alex Hall <mehg...@icloud.com> wrote: > > Hello list, > I have a Mac app which was going well until I tried to add a web view. It was > giving me a lot of trouble, so I've left it out for the moment. However, > after I tried to remove it, my app stopped working. My debug console shows > this error, which happens after the main view controller's viewDidLoad method > runs: > > Cinnamon(1775,0x10086b000) malloc: *** mach_vm_map(size=72018011619328) > failed (error code=3) > *** error: can't allocate region > *** set a breakpoint in malloc_error_break to debug > > I'm not sure how to fix this. There's nothing in my debug navigator at all, > and no file seems to be showing any errors. > > I'm not asking for help with this specific error; rather, how do I diagnose > and fix it, and others like it that happen in future, on my own? I can set a > breakpoint, but what does it mean to do so in malloc_error_break? How might I > go about finding some kind of stack trace? Would zombies help here, and how > do I set them up (all instructions I find are for Xcode 4.x)? Are there any > other tools in Xcode for debugging I should look into? > > I can use the errors that show up next to a source code file, and I can use > the debug navigator. That, combined with the debug console, is usually > enough, but sometimes--like now--heavier artillery seems to be required. Any > ideas or resources would be great. Thanks. > > -- > Have a great day, > Alex Hall > mehg...@icloud.com > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Xcode-users mailing list (Xcode-users@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/xcode-users/ktam%40yvs.eu.com > > This email sent to k...@yvs.eu.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com