How to debug a CFPlugin
How to debug a CFPlugin
- Subject: How to debug a CFPlugin
- From: "Jose R.C. Cruz" <email@hidden>
- Date: Wed, 10 Dec 2008 08:23:43 -0800
2008 Dec 10, 08:13 PST
Hello, folks!
I am having problems with debugging a CFPlugin through Xcode's source-
level debugger. My plug-in was a BBEdit plug-in I wrote for an
upcoming article. The procedure I found via Google is as follows.
a) Open the plugin project;
b) Build the plugin;
c) Make an alias of the plugin in your Tools folder;
d) Right click on the "Executables" node, and choose "Add->New Custom
Executable"
e) Click the Choose button, and pick your BBEdit/TextWrangler
application;
f) Switch to the "Debugging" panel, and make sure "Start executable
after starting debugger" is enabled;
g) Set a breakpoint;
h) Build & Debug
Yet, when I follow these steps, Xcode displayed the following error on
its console:
Program received signal: “SIGTRAP”.
Xcode: Introspection dylib not loaded because thread 1 has function:
__dyld__dyld_start on stack
So, am I missing something? Is it even possible to use a source-level
debugger on CFPlugins? My sample plug-in does work, as it displays
the selected text onto a modal dialog. I am just unable to debug it
-- short of using a lot of NSLog() statements.
I appreciate any help you can provide.
-----
J.C. Cruz
Freelance Writer
MacTech/REALbasic Developer/Python Magazine
anarakisware-at-gmail-dot-com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden