Package com.sun.jdi

Examples of com.sun.jdi.InvalidStackFrameException


    case JdwpReplyPacket.ILLEGAL_ARGUMENT:
      throw new IllegalArgumentException();
    case JdwpReplyPacket.NATIVE_METHOD:
      throw new NativeMethodException();
    case JdwpReplyPacket.INVALID_FRAMEID:
      throw new InvalidStackFrameException();
    case JdwpReplyPacket.NOT_IMPLEMENTED:
      throw new UnsupportedOperationException();
    case JdwpReplyPacket.HCR_OPERATION_REFUSED:
      throw new org.eclipse.jdi.hcr.OperationRefusedException();
    case JdwpReplyPacket.VM_DEAD:
View Full Code Here


  /* (non-Javadoc)
   * @see com.sun.jdi.StackFrame#getArgumentValues()
   */
  public List<Value> getArgumentValues() throws InvalidStackFrameException {
    if (!thread().isSuspended()) {
      throw new InvalidStackFrameException(
          JDIMessages.StackFrameImpl_no_argument_values_available);
    }
    try {
      List<LocalVariable> list = location().method().variables();
      ArrayList<Value> ret = new ArrayList<Value>();
View Full Code Here

            JDIMessages.ThreadReferenceImpl_no_force_early_return_on_threads);
      case JdwpReplyPacket.OPAQUE_FRAME:
        throw new NativeMethodException(
            JDIMessages.ThreadReferenceImpl_thread_cannot_force_native_method);
      case JdwpReplyPacket.NO_MORE_FRAMES:
        throw new InvalidStackFrameException(
            JDIMessages.ThreadReferenceImpl_thread_no_stackframes);
      case JdwpReplyPacket.TYPE_MISMATCH:
        throw new InvalidTypeException(
            JDIMessages.ThreadReferenceImpl_incapatible_return_type);
      case JdwpReplyPacket.VM_DEAD:
View Full Code Here

      JdwpReplyPacket replyPacket = requestVM(
          JdwpCommandPacket.SF_POP_FRAME, outBytes);
      switch (replyPacket.errorCode()) {
      case JdwpReplyPacket.INVALID_THREAD:
        throw new InvalidStackFrameException();
      case JdwpReplyPacket.INVALID_FRAMEID:
        throw new InvalidStackFrameException(
            JDIMessages.ThreadReferenceImpl_Unable_to_pop_the_requested_stack_frame_from_the_call_stack__Reasons_include__The_frame_id_was_invalid__The_thread_was_resumed__10);
      case JdwpReplyPacket.THREAD_NOT_SUSPENDED:
        throw new IncompatibleThreadStateException(
            JDIMessages.ThreadReferenceImpl_Unable_to_pop_the_requested_stack_frame__The_requested_stack_frame_is_not_suspended_11);
      case JdwpReplyPacket.NO_MORE_FRAMES:
        throw new InvalidStackFrameException(
            JDIMessages.ThreadReferenceImpl_Unable_to_pop_the_requested_stack_frame_from_the_call_stack__Reasons_include__The_requested_frame_was_the_last_frame_on_the_call_stack__The_requested_frame_was_the_last_frame_above_a_native_frame__12);
      default:
        defaultReplyErrorHandler(replyPacket.errorCode());
      }
    } catch (IOException ioe) {
View Full Code Here

TOP

Related Classes of com.sun.jdi.InvalidStackFrameException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.