• 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
Re: Breakpoints under JNI?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoints under JNI?


  • Subject: Re: Breakpoints under JNI?
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 4 Jul 2008 16:33:54 -0500

On 4 Jul 2008, at 1:08 PM, JonathanF wrote:

Thanks to Fritz Anderson for explaining how to use gdb instead of javabug. I now get gdb instead of javabug in the console window, which I guess is a step in the right direction.

However, the debugger still doesn't stop on the breakpoints. The breakpoints are colored orange in the Xcode source editor -- apparently that means that Xcode/gdb can't match them to the symbolic information?

Is there some build-flag I need to set to generate symbolic info for debugging? Or some way I need to tell the debugger where the source- code for the library is? -- Since the library is being called from JNI, it seems reasonable that the debugger might not know how to find the source-code, but I don't know how to tell it....

The debugger isn't loading debug symbols until after your library is entered, thus foiling its effort to set breakpoints in time for them to be triggered. In the Preferences window, Debugging panel, Symbol Loading Options:, uncheck "Load symbols lazily."


	— F

_______________________________________________
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


References: 
 >Re: Breakpoints under JNI? (From: "JonathanF" <email@hidden>)

  • Prev by Date: IB image path
  • Next by Date: Re: Search in Google?
  • Previous by thread: Re: Breakpoints under JNI?
  • Next by thread: IB image path
  • Index(es):
    • Date
    • Thread