Package org.eclipse.jdt.debug.core

Examples of org.eclipse.jdt.debug.core.IJavaLineBreakpoint


            }
        });
    }

    private void updateBreakpoint(Breakpoint teavmBreakpoint) {
        IJavaLineBreakpoint breakpoint = breakpointBackMap.get(teavmBreakpoint);
        if (breakpoint != null) {
            try {
                if (!teavmBreakpoint.isValid() || !teavmDebugger.isAttached()) {
                    breakpoint.getMarker().setAttribute(JAVA_BREAKPOINT_INSTALL_COUNT, 0);
                } else {
                    breakpoint.getMarker().setAttribute(JAVA_BREAKPOINT_INSTALL_COUNT, 1);
                }
                DebugPlugin.getDefault().getBreakpointManager().fireBreakpointChanged(breakpoint);
            } catch (CoreException e) {
                throw new RuntimeException(e);
            }
View Full Code Here


    }

    @Override
    public void breakpointAdded(IBreakpoint breakpoint) {
        try {
            IJavaLineBreakpoint lineBreakpoint = (IJavaLineBreakpoint)breakpoint;
            String fileName = lineBreakpoint.getTypeName().replace('.', '/') + ".java";
            Breakpoint teavmBreakpoint = teavmDebugger.createBreakpoint(fileName, lineBreakpoint.getLineNumber());
            breakpointMap.put(lineBreakpoint, teavmBreakpoint);
            breakpointBackMap.put(teavmBreakpoint, lineBreakpoint);
        } catch (CoreException e) {
            throw new RuntimeException(e);
        }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.debug.core.IJavaLineBreakpoint

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.