Re: Breakpoints under JNI?
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