Examples of declaringType()


Examples of com.sun.jdi.Location.declaringType()

    threadStack.setCurRefType(refType);
    threadStack.setCurThreadRef(threadRef);
   
    Location loc = event.location();
    Debugger debugger = Debugger.getInstance();
    String className = loc.declaringType().name();
    int lineNum = loc.lineNumber();

    CompilerContext ctx = debugger.getCompilerContext();
    String abPath = "None";
    try {
View Full Code Here

Examples of com.sun.jdi.Location.declaringType()

    public final static synchronized DroolsStackFrame createCustomFrame(DroolsThread thread,
                                                                        int depth,
                                                                        StackFrame currentFrame) {
        DroolsStackFrame customFrame;
        Location loc = currentFrame.location();
        if ( loc.declaringType().name().equals( "org.drools.base.mvel.MVELDebugHandler" ) && loc.method().name().equals( "onBreak" ) ) {
            customFrame = new MVELStackFrame( thread,
                                              currentFrame,
                                              depth );
        } else {
            customFrame = new DroolsStackFrame( thread,
View Full Code Here

Examples of com.sun.jdi.Location.declaringType()

    public final static synchronized DroolsStackFrame createCustomFrame(DroolsThread thread,
                                                                        int depth,
                                                                        StackFrame currentFrame) {
        DroolsStackFrame customFrame;
        Location loc = currentFrame.location();
        if ( loc.declaringType().name().equals( "org.drools.core.base.mvel.MVELDebugHandler" ) && loc.method().name().equals( "onBreak" ) ) {
            customFrame = new MVELStackFrame( thread,
                                              currentFrame,
                                              depth );
        } else {
            customFrame = new DroolsStackFrame( thread,
View Full Code Here

Examples of com.sun.jdi.Location.declaringType()

      if (getExclusionClassFilters().length >= 1
          || getInclusionClassFilters().length >= 1
          || filtersIncludeDefaultPackage(fInclusionClassFilters)
          || filtersIncludeDefaultPackage(fExclusionClassFilters)) {
        Location location = ((ExceptionEvent) event).location();
        String typeName = location.declaringType().name();
        boolean defaultPackage = typeName.indexOf('.') == -1;
        boolean included = true;
        String[] filters = getInclusionClassFilters();
        if (filters.length > 0) {
          included = matchesFilters(filters, typeName, defaultPackage);
View Full Code Here

Examples of com.sun.jdi.Location.declaringType()

    protected void attachFiltersToStepRequest(StepRequest request) {

      if (applyStepFilters() && isStepFiltersEnabled()) {
        Location currentLocation = getOriginalStepLocation();
        if (currentLocation == null
            || !JAVA_STRATUM_CONSTANT.equals(currentLocation
                .declaringType().defaultStratum())) {
          return;
        }
        // Removed the fix for bug 5587, to address bug 41510
        // //check if the user has already stopped in a filtered
View Full Code Here

Examples of com.sun.jdi.Location.declaringType()

        {
            out.println( "Thread: \"" + thread.name() + '"' );
            for ( StackFrame frame : thread.frames() )
            {
                Location location = frame.location();
                StackTraceElement trace = new StackTraceElement( location.declaringType().name(),
                                                                 location.method().name(),
                                                                 sourceFileName( location ),
                                                                 location.lineNumber() );
                out.println( "\tat " + trace );
            }
View Full Code Here

Examples of com.sun.jdi.Method.declaringType()

            }

            List<IVariable> result = new ArrayList<IVariable>( 0 );

            Method method = getUnderlyingMethod(); // onBreak
            ReferenceType declaringType = method.declaringType(); // org.drools.core.base.mvel.MVELDebugHandler

            try {
                Object var = method.variables().get( 0 );
                LocalVariable v2 = (LocalVariable) var;
                JDILocalVariable frameLocal = new JDILocalVariable( this,
View Full Code Here

Examples of com.sun.jdi.Method.declaringType()

            }

            List<IVariable> result = new ArrayList<IVariable>( 0 );

            Method method = getUnderlyingMethod(); // onBreak
            ReferenceType declaringType = method.declaringType(); // org.drools.base.mvel.MVELDebugHandler

            try {
                Object var = method.variables().get( 0 );
                LocalVariable v2 = (LocalVariable) var;
                JDILocalVariable frameLocal = new JDILocalVariable( this,
View Full Code Here

Examples of com.sun.jdi.Method.declaringType()

            }

            List<IVariable> result = new ArrayList<IVariable>( 0 );

            Method method = getUnderlyingMethod(); // onBreak
            ReferenceType declaringType = method.declaringType(); // org.drools.base.mvel.MVELDebugHandler

            try {
                Object var = method.variables().get( 0 );
                LocalVariable v2 = (LocalVariable) var;
                JDILocalVariable frameLocal = new JDILocalVariable( this,
View Full Code Here

Examples of com.sun.jdi.Method.declaringType()

            }

            List<IVariable> result = new ArrayList<IVariable>( 0 );

            Method method = getUnderlyingMethod(); // onBreak
            ReferenceType declaringType = method.declaringType(); // org.drools.core.base.mvel.MVELDebugHandler

            try {
                Object var = method.variables().get( 0 );
                LocalVariable v2 = (LocalVariable) var;
                JDILocalVariable frameLocal = new JDILocalVariable( this,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.