April 2015
Beginner to intermediate
494 pages
10h 26m
English
Let's make our application crash to see how to read a crash dump:
jni/com_packtpub_store_Store.cpp:#include "com_packtpub_store_Store.h"
JNIEXPORT jint JNICALL Java_com_packtpub_store_Store_getCount
(JNIEnv* pEnv, jobject pObject) {
pEnv = 0;
return pEnv->CallIntMethod(0, 0);
}backtrace section with a snapshot of the call-stack at the moment the application crashed. However, it does not give the line of code involved: