Expose needed on debugging a plugin
Expose needed on debugging a plugin
- Subject: Expose needed on debugging a plugin
- From: "Ken G. Brown" <email@hidden>
- Date: Tue, 18 Mar 2008 19:52:19 -0600
Further:
In Xcode preferences I have 'Load Symbols Lazyily' unchecked, I have 'Load CFM Symbol Information' checked.
When I hit the plugin in the debugger, in the debugger console I see:
Pending breakpoint 1 - ""Plugin.c:136" resolved
Pending breakpoint 2 - ""Plugin.c:109" resolved
Previous frame inner to this frame (gdb could not unwind past this frame)
Previous frame inner to this frame (gdb could not unwind past this frame)
Thx,
Ken
-----------
Xcode 3.0, 10.5.2
I am working on a plugin to which I have the source code available, and which needs to be located in a certain folder relative to the app to which I do not have the source code. I have both the custom executable set to look in the proper places for plugin source code as well as the plugin folder where I also have the plugin.bundle.dSYM file next to the plugin.bundle.
I set the plugin xcode project up with a custom executable pointing to the app, and have the custom executable set to not run as soon as entering the debugger. When I start the debugger, it pauses at which time I set a couple breakpoints in the source code to the plugin. Then I click restart in the debugger, and the custom executable (the app) proceeds to load, and all seems pretty good. When I cause the app to run my plugin, the debugger pops to the foreground as would be expected but I see at the bottom of the debugger window:
Error from Debugger: Previous frame inner to this frame (gdb could not unwind past this frame).
And the source code does not show that I've hit one of the breakpoints. The debugger appears that it is in control and if I 'do step over' a few times I keep getting the same error, then eventually get a debugger error: cannot access memory at 0xb64ae80c.
If I let the plugin run by doing continue in the debugger, it works correctly so has been loaded properly.
I'm kinda stuck right now. I think I need a better expose on how to properly debug plugins. I've looked through the xcode manual and haven't found anything further to help.
Any tips of what to try next would be greatly appreciated.
Thx,
Ken G. Brown
_______________________________________________
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