Xcode 3.0 and debugging plug-ins
Xcode 3.0 and debugging plug-ins
- Subject: Xcode 3.0 and debugging plug-ins
- From: Jake Traynham <email@hidden>
- Date: Tue, 08 Jan 2008 09:15:30 -0600
Hello,
I develop FileMaker Pro plug-ins and since upgrading to Xcode 3.0, I'm
having difficulty debugging them from Xcode. I fought with the problem
for several hours yesterday on my PPC laptop until on a whim I tested it
on my Intel mini where it seems to be working fine. This is what I've
observed:
On the Intel mini, Xcode 3.0 compiles the plug-in, runs the host
executable (FileMaker Pro), and stops correctly on any breakpoint I have
set in my plug-in code. All seems fine there.
On the PPC laptop, Xcode 3.0 compiles the plug-in and runs the host
executable fine, but stopping on a breakpoint I have set is seemingly
worthless. At first, I couldn't get it to stop on a breakpoint at all
and after doing some googling, came across maybe turning off "Load
symbols lazily". This seemed to help at one point, but I was trying
several things at once and now I think turning this option off didn't
make a difference. (I was testing again this morning before sending this
email and the Intel mini was working fine with this option turned on. I
turned it back on on the PPC laptop and am still getting the oddness I
describe below, so this option apparently has no bearing.)
I figured out through luck (if you want to call it luck) that if I set a
breakpoint several hundred lines after the point in the code that I
actually wanted to break in, that the debugger would pause and let me
step through the code, but this is worthless as well. In the Debugger
window, the call stack pane shows the correct function that I'm trying
to debug. The Variables pane shows me the variables for the correct
function I'm trying to debug. But the code source pane on the bottom
shows the instruction pointer in the point in the code where I had to
place the break point several hundred lines below where I'm actually
trying to debug. If I try to step through the code from that point, the
Variables pane seems to update with the correct values from the correct
function, but the instruction pointer in the code source pane jumps
around weird as if it were showing me the correct source code. It's
thoroughly useless to actually debug the code, not to mention frustrating.
Is there anything I can do about this, or anyway I can "debug" the
situation further to find a way around this?
Thanks,
Jake
--
Jake Traynham
Owner, CNS Plug-ins
http://www.cnsplug-ins.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