Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attaching to the debugger programatically




On 30 Mar 2006, at 16:02, James Bucanek wrote:

I like the way that XCode now automatically takes me into the
debugger when my app crashes when I have not run it from the debugger
initially (via Auto-attach debugger to crash). I was wondering if
there is a way to kick-start this debugger attachment without having
to do something that will crash the app (i.e I want to continue on
afterwards).

I was hoping that maybe calling Debugger() would do it, but alas not.

See the Debug > Attach menu.


Sorry, I should have explained better. I want to be able to do this from within the running app itself. E.g:

if (somethingUnexpected)
    AttachAndDropIntoDebugger();

Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Attaching to the debugger programatically (From: James Bucanek <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.