| | |
debugging JNI application
![]() |
•
•
Join Date: Nov 2004
Posts: 189
Reputation:
Solved Threads: 0
Hello everyone,
I am wondering if I want to debug JNI application (upper layer Java and lower layer C), are there any tools to debug through Java code to C code and return back from C code to Java code.
I am using Eclipse. But I do not find such functions in Eclipse (maybe I miss some plug-ins?). Currently, I can only debug Java code.
thanks in advance,
George
I am wondering if I want to debug JNI application (upper layer Java and lower layer C), are there any tools to debug through Java code to C code and return back from C code to Java code.
I am using Eclipse. But I do not find such functions in Eclipse (maybe I miss some plug-ins?). Currently, I can only debug Java code.
thanks in advance,
George
Have you tried debugging the native object in a C ide first? The interface from Java to C tends to be pretty simple... If you are happy with what is going on in Java, then it seems like the sensible step?
•
•
Join Date: Nov 2004
Posts: 189
Reputation:
Solved Threads: 0
Thanks alpha_foobar,
You mean there is no integrated way to debug Java part and C part -- debugging goes through Java code into C code and vice versa?
regards,
George
•
•
•
•
Have you tried debugging the native object in a C ide first? The interface from Java to C tends to be pretty simple... If you are happy with what is going on in Java, then it seems like the sensible step?
regards,
George
I'm not aware of any. But it isn't an area I have spent a lot of time in.
I'd suspect that you'd need the dll to be running in a C IDE in debug mode for a seamless debug thread to work. And I don't really think that would be possible.
Are you having a problem with something - or is this more of a theoretic question? I'm just thinking that if debugging the C module separately isn't a feasible solution - perhaps there is another way more specific to your problem?
I'd suspect that you'd need the dll to be running in a C IDE in debug mode for a seamless debug thread to work. And I don't really think that would be possible.
Are you having a problem with something - or is this more of a theoretic question? I'm just thinking that if debugging the C module separately isn't a feasible solution - perhaps there is another way more specific to your problem?
•
•
Join Date: Nov 2004
Posts: 189
Reputation:
Solved Threads: 0
Thanks alpha_foobar,
It is my interest to learn and try new ways and new technology. I am learning JNI and I want to study how to debug and solve issues in JNI code.
How to debug the C module separately? I need to know the input parameters from Java code, right?
regards,
George
•
•
•
•
I'm not aware of any. But it isn't an area I have spent a lot of time in.
I'd suspect that you'd need the dll to be running in a C IDE in debug mode for a seamless debug thread to work. And I don't really think that would be possible.
Are you having a problem with something - or is this more of a theoretic question? I'm just thinking that if debugging the C module separately isn't a feasible solution - perhaps there is another way more specific to your problem?
How to debug the C module separately? I need to know the input parameters from Java code, right?
regards,
George
•
•
Join Date: Sep 2007
Posts: 2
Reputation:
Solved Threads: 0
Hi George2,
Let's me introduce Eclipse* based tool for debugging Java*/JNI environment that uses CDT and JDT perspectives makes developer works comfortable for Eclipse* users and moving out two debugger scenario to the history.
Please find time to visit http://softwarecommunity.intel.com/a...s/eng/1435.htm and try it. Let us to know if it helps to you or not, and what changes should be done to meet your expectations and requirements.
--
Vasily v. Levchenko
Senior Software Engineer
Intel(R) Corporation
Let's me introduce Eclipse* based tool for debugging Java*/JNI environment that uses CDT and JDT perspectives makes developer works comfortable for Eclipse* users and moving out two debugger scenario to the history.
Please find time to visit http://softwarecommunity.intel.com/a...s/eng/1435.htm and try it. Let us to know if it helps to you or not, and what changes should be done to meet your expectations and requirements.
--
Vasily v. Levchenko
Senior Software Engineer
Intel(R) Corporation
![]() |
Similar Threads
- DC SQL job with Microsoft (Work from home) (Software Development Job Offers)
- Jit Debugger (Windows Software)
- Fatal Execution Engine Failure(0x7927e03e) (ASP.NET)
- A few little problems (VB.NET)
- Jni (Java)
- so many problems... (Windows NT / 2000 / XP)
- Fatal Execution Engine Failure(0x7927e03e) (Viruses, Spyware and other Nasties)
- Address Book Application... (here's what I have done so far..) (C++)
Other Threads in the Java Forum
- Previous Thread: Extract columns from text file
- Next Thread: Removing paragraph
| Thread Tools | Search this Thread |
account android api applet application array arrays automation bidirectional binary birt bluetooth class classes client code columns component constructor database designadrawingapplicationusingjavajslider draw eclipse error errors exception expand fractal game givemetehcodez graphics gui guidancer homework html ide image inetaddress inheritance integer intellij j2me java javamicroeditionuseofmotionsensor javaprojects jlabel jme jni jpanel jtextfield jtree julia linux list loop map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring myaggfun netbeans newbie nullpointerexception open-source oracle plazmic print problem program project property recursion ria scanner search server set sharepoint smart sms smsspam sort sourcelabs splash sql sqlite static string subclass support swing testautomation threads tree unlimited webservices windows





