Causing the JNI code to crash "properly"
I have some code written in C and liked to Java using JNI.
When I run it (even from the Visual C++ environment) and the code gets an exception in C, the JVM catches it and closes up nicely with an error.
What can I do to remove this behavior and let it crash - this will cause Visual C++ debugger to catch it and show me where the crash is.
I've got 2 problems with this:
1. I'm writiing code in pure ANSI C - so try/catch doesn't work for me in the long run - just as a way of debugging a specific problem.
2. I need something that will crash - not something that will get over it, but something that will be able to show me the exact problem, along with a backtrace, values of variables, and the ability to use a debugger to check the memory while I'm at it.
I will try it though, so thanks a lot
- 1Music downloads to iPod Nano from songs that are only available in iCloud. 10-11
- 2Check box before select option in a report program. 11-30
- 3Image and .WAR 11-30
- 4Can you add a word or name to the spell checker in pages for iPad? 11-30
- 55D Mark III issues 11-30
- 6How do i attach a spreadsheet to my registration form? 11-30
- 7Collective requirements of Planned orders 11-30
- 8I need write tab and newline into an excel type file 11-30
- My iPad won't let me download apps10/11
- Multiple iTunes accounts with AppleTV10/11
- GROUP BY problems11/30
- Regarding Customized evaluation path in OM11/30
- JMX BEA-149500 An exception occurred while registering the MBean null.11/30
- Lightroom and new Raw Converters11/30
- Endeca Reference application issue11/30
- Mod_auth_radius on v9 system11/30
- Skewed image in iMovie and iDVD11/30