Re: Debugging Plugins
Re: Debugging Plugins
- Subject: Re: Debugging Plugins
- From: "Sailesh Agrawal" <email@hidden>
- Date: Thu, 18 Sep 2003 15:39:39 -0400
If no one else has a fix here some thing you could try. In the terminal
run 'gdb'. Try the attach to process command to attach to your app. Then
add a break point to a function in you plug-in (i.e. break foo). This
will work even when you don't have the source to the app that's loading
the plug-in.
Sailesh
On Thu, 18 Sep 2003 12:09:34 -0700, "The Amazing Llama" <email@hidden>
said:
>
I have an application that uses a ton of plugins (well, it will; right
>
now it has one). The plugin is one target in the project and the
>
application is another.
>
>
Right now the plugin is doing something very annoying, and it's a
>
totally simple fix, if I could just put a breakpoint in the plugin. But
>
I can't, because the plugin is loaded at runtime, and so isn't included
>
in the normal application.
>
>
The archives mention something about changing the path in "the
>
executable tab" but I can't find such a Tab anymore, so I assume it
>
went the way of the dodo at some point. There is an "Executables" area
>
under the "Targets" tab, and that has the application the project
>
builds, but no information for the plugin so I could set the plugins'
>
executable path to be the application.
>
>
Any help out there?
>
>
Seth A. Roby The Amazing Llama < mail or AIM me at
>
tallama at mac dot
>
com>
>
"Life is like an exploded clown. It's really funny until you figure out
>
what just happened."
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.