Lines Matching defs:error

39     jvmtiError error;
41 error = JVMTI_FUNC_PTR(gdata->jvmti,GetFrameCount)
43 if (error != JVMTI_ERROR_NONE) {
44 EXIT_ERROR(error, "getting frame count");
64 jvmtiError error;
68 error = threadControl_setEventMode(JVMTI_ENABLE, EI_SINGLE_STEP,
70 if (error != JVMTI_ERROR_NONE) {
71 EXIT_ERROR(error, "enabling single step");
78 jvmtiError error;
82 error = threadControl_setEventMode(JVMTI_DISABLE, EI_SINGLE_STEP,
84 if (error != JVMTI_ERROR_NONE) {
85 EXIT_ERROR(error, "disabling single step");
93 jvmtiError error;
99 error = JVMTI_FUNC_PTR(gdata->jvmti,GetFrameLocation)
101 if (error == JVMTI_ERROR_NONE && *pmethod!=NULL ) {
103 error = methodClass(*pmethod, pclazz);
105 return error;
112 jvmtiError error;
122 error = JVMTI_FUNC_PTR(gdata->jvmti,GetLineNumberTable)
124 if (error != JVMTI_ERROR_NONE) {
168 jvmtiError error;
196 error = JVMTI_FUNC_PTR(gdata->jvmti,NotifyFramePop)
198 if (error == JVMTI_ERROR_OPAQUE_FRAME) {
200 error = JVMTI_ERROR_NONE;
201 /* continue without error */
202 } else if (error == JVMTI_ERROR_DUPLICATE) {
203 error = JVMTI_ERROR_NONE;
204 /* Already being notified, continue without error */
205 } else if (error != JVMTI_ERROR_NONE) {
206 return error;
227 error = getFrameLocation(thread, &clazz, &method, &location);
228 if (error == JVMTI_ERROR_NONE) {
252 return error;
488 jvmtiError error;
501 error = initState(env, thread, step);
502 if (error != JVMTI_ERROR_NONE) {
507 EXIT_ERROR(error, "initializing step state");
519 jvmtiError error;
607 error = JVMTI_FUNC_PTR(gdata->jvmti,NotifyFramePop)
609 if (error == JVMTI_ERROR_DUPLICATE) {
610 error = JVMTI_ERROR_NONE;
611 } else if (error != JVMTI_ERROR_NONE) {
612 EXIT_ERROR(error, "setting up notify frame pop");
634 error = getFrameLocation(thread,
640 if (error != JVMTI_ERROR_NONE || location == -1) {
641 EXIT_ERROR(error, "getting frame location");
704 jvmtiError error;
715 error = initState(env, thread, step);
716 if (error != JVMTI_ERROR_NONE) {
717 EXIT_ERROR(error, "initializing step state");
792 jvmtiError error;
803 error = AGENT_ERROR_INVALID_THREAD;
804 /* Normally not getting a StepRequest struct pointer is a fatal error
805 * but on a beginStep, we just return an error code.
811 error = threadControl_suspendThread(thread, JNI_FALSE);
812 if (error == JVMTI_ERROR_NONE) {
822 error = initState(env, thread, step);
823 if (error == JVMTI_ERROR_NONE) {
828 if (error2 != JVMTI_ERROR_NONE && error == JVMTI_ERROR_NONE) {
829 error = error2;
835 if (error == JVMTI_ERROR_NONE) {
839 EXIT_ERROR(error, "stepControl_beginStep: cannot suspend thread");
846 return error;
883 jvmtiError error;
893 error = JVMTI_ERROR_NONE;
900 error = JVMTI_ERROR_NONE;
906 return error;