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: Debugging PlugIn




On Feb 12, 2007, at 9:33 AM, Dave wrote:

I am trying to debug an external. This mechanism basically works in that a couple of the simple API calls are working, so I know the PlugIn is being loaded and my functions are getting called.


I now want to set a breakpoint in one of the API functions, so I set the Breakpoint in the source window and then do a "Build and Debug". The Host Application opens ok, the debugging runs ok and the API call in question gets called but it doesn't stop on the breakpoint.


What do I have to do to make it stop on the breakpoint correctly??


The most common reason for this is the setting of the the plugin's load level, which is a tradeoff Xcode uses to speed up launch time when you're not debugging plugins (because it takes extra time to load the debug symbols for every plugin you load, and it's not worth it when you're just debugging your main code).

http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/06_05_db_symbols/chapter_43_section_1.html

Chris
 _______________________________________________
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: 
 >Help Regarding Xcode 2.4 (From: "Lijith P" <email@hidden>)
 >Pascal/Delphi and XCode (From: Dave <email@hidden>)
 >Re: Pascal/Delphi and XCode (From: Jonas Maebe <email@hidden>)
 >Re: Pascal/Delphi and XCode (From: Dave <email@hidden>)
 >Re: Pascal/Delphi and XCode (From: Jonas Maebe <email@hidden>)
 >Re: Pascal/Delphi and XCode (From: Dave <email@hidden>)
 >Debugging PlugIn (From: Dave <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.