• 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 11:41:49 -0500

On 4 Jul 2008, at 9:05 AM, JonathanF wrote:

How do I set a breakpoint in C code so that the breakpoint will be invoked when the code is called via JNI?

I generated the default JNI project from Xcode and set some breakpoints in the C code, but the debugger skipped over them (though it did stop on the breakpoints in the Java code.) Do I need to tell the debugger where the C-based library is?

I am using Xcode 3.0 under 10.5.3 on a PPC.

Try this: In the Executables group the Groups & Files list, double- click on your Java application.


In the resulting Info window, select the Debugging tab.

In the "When using" popup, select GDB instead of Java Debugger. The "When using" label suggests that it specifies only a possible circumstance of the other settings, but it really does select the debugger that is to be used.

	— 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: 
 >Breakpoints under JNI? (From: "JonathanF" <email@hidden>)

  • Prev by Date: Re: MAC OS native 3rd party software update mechanism
  • Next by Date: Re: Auto-include date/time
  • Previous by thread: Breakpoints under JNI?
  • Next by thread: Re: Breakpoints under JNI?
  • Index(es):
    • Date
    • Thread