• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How does Xcode start gdb? (or: Why can't I locate breakpoints in Xcode?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How does Xcode start gdb? (or: Why can't I locate breakpoints in Xcode?)
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Re: export PowerPlant CW9 project into xcode
  • Next by Date: Re: Research Assistant & Documentation Window Not Working
  • Previous by thread: Re: export PowerPlant CW9 project into xcode
  • Next by thread: Re: How does Xcode start gdb? (or: Why can't I locate breakpoints in Xcode?)
  • Index(es):
    • Date
    • Thread