How does Xcode start gdb? (or: Why can't I locate breakpoints in Xcode?)
How does Xcode start gdb? (or: Why can't I locate breakpoints in Xcode?)
- Subject: How does Xcode start gdb? (or: Why can't I locate breakpoints in Xcode?)
- From: "J.P. Pellet" <email@hidden>
- Date: Wed, 2 Apr 2008 17:27:38 +0200
I'm trying to debug a JNI plugin here. I use Eclipse for Java Rich
Client Platform development and Xcode for the C/C++ JNI stuff. I can
do the following: start debugging in Java, break on the first line of
main(), go to a terminal, and type
$ gdb
...
(gdb) attach <javaprocesspid>
Then I can set breakpoints on the command line successfully, but I
don't want to go through this terminal debugger. Therefore I set up a
dummy executable in my Xcode project, uncheck "Start executable after
starting debugger", start a debug session, and try to attach to the
paused Java code. I can successfully attach, but if I then list my
breakpoints with
(gdb) info break
I can see that they are all pending. I also cannot add any other,
including the exact ones that I could add on the terminal gdb I used
before.
How can I fix this? What does Xcode do to gdb such that it cannot find
my breakpoints?
TIA,
J.P.
_______________________________________________
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