Re: How to Debug PlugIn???
Re: How to Debug PlugIn???
- Subject: Re: How to Debug PlugIn???
- From: Jim Ingham <email@hidden>
- Date: Fri, 12 Aug 2005 09:57:39 -0700
Here are a couple of diagnostic things to try...
First of all, run the app in the debugger till you know your plugin
is loaded. Then look at the Shared Libraries window (Debug->Tools-
>Shared Libraries). Make sure your PlugIn appears in the list (you
can use the search filter for quick searching). Click on it to
select it, and make sure that the path is indeed the one you
expected. Sometimes people's software gets insistent about picking
up the installed version of the plugins... Also make sure that the
Current Symbol Level of the plugin is All.
If that's okay, then open the Console Log, and type:
(gdb) info break
look at the list, and see if the breakpoint is set, or if it says
<Pending>. If it is says "Pending" then we somehow didn't manage to
set the breakpoint. If it isn't set, one interesting thing to try
here is to set then breakpoint by hand when the library is fully
loaded. Did that work? If that did, you can just "re-run" without
quitting the debugger, and that should work...
If the breakpoint is set (has an address in the info break output),
but isn't getting hit, it may be a bug in gdb - we're setting the
breakpoint at the wrong place for some reason. If you are setting a
breakpoint on something like a template function, or an inlined
function, then you may be running into the bug we have discussed
elsewhere in the list with single expression -> multiple breakpoint...
Jim
On Aug 12, 2005, at 7:07 AM, David Burgun wrote:
Hi,
I'm trying to debug a Plug-In. Here's what I have done so far:
Set a custom executable that point to the Host Application.
1. Set a breakpoint in my PlugIn
2. Performed a Run In Debug In Executable
3. The Host App launches and I do what I have to do to trigger the
Plug-In.
The Plug-In gets called, but No Breakpoint! Is there something
further I have to do?
Any pointers would be greatly appreciated.
All the Best
Dave
_______________________________________________
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
_______________________________________________
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