This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 79027
Collapse All | Expand All

(-)a/api.debugger.jpda/apichanges.xml (+19 lines)
Lines 816-821 Link Here
816
        <issue number="226029"/>
816
        <issue number="226029"/>
817
    </change>
817
    </change>
818
818
819
    <change>
820
        <api name="JPDADebuggerAPI"/>
821
        <summary>Breakpoints can deactivated.</summary>
822
        <version major="2" minor="42"/>
823
        <date day="27" month="2" year="2013"/>
824
        <author login="mentlicher"/>
825
        <compatibility addition="yes" source="compatible" binary="compatible"/>
826
        <description>
827
            Two methods are added to JPDADebugger class: getBreakpointsActive()
828
            and setBreakpointsActive(boolean). The set method fires PROP_BREAKPOINTS_ACTIVE
829
            event. <br/>
830
            These methods are used to activate/deactivate all breakpoints in the
831
            debugger session.
832
            Initially, the breakpoints are active in the debugger session.
833
        </description>
834
        <class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
835
        <issue number="79027"/>
836
    </change>
837
819
838
820
</changes>
839
</changes>
821
840
(-)a/api.debugger.jpda/manifest.mf (-1 / +1 lines)
Lines 1-6 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.netbeans.api.debugger.jpda/2
2
OpenIDE-Module: org.netbeans.api.debugger.jpda/2
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/debugger/jpda/Bundle.properties
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/debugger/jpda/Bundle.properties
4
OpenIDE-Module-Specification-Version: 2.41
4
OpenIDE-Module-Specification-Version: 2.42
5
OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager]
5
OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager]
6
6
(-)a/api.debugger.jpda/src/org/netbeans/api/debugger/jpda/JPDADebugger.java (+27 lines)
Lines 107-112 Link Here
107
    /** Property name constant.
107
    /** Property name constant.
108
     * @since 2.25     */
108
     * @since 2.25     */
109
    public static final String          PROP_CLASSES_FIXED = "classesFixed";  // NOI18N
109
    public static final String          PROP_CLASSES_FIXED = "classesFixed";  // NOI18N
110
    /** Property name constant. Fired when breakpoints are activated / deactivated.
111
     * @since 2.42     */
112
    public static final String          PROP_BREAKPOINTS_ACTIVE = "breakpointsActive"; // NOI18N
110
    
113
    
111
    /** Suspend property value constant. */
114
    /** Suspend property value constant. */
112
    public static final int             SUSPEND_ALL = EventRequest.SUSPEND_ALL;
115
    public static final int             SUSPEND_ALL = EventRequest.SUSPEND_ALL;
Lines 488-493 Link Here
488
    }
491
    }
489
    
492
    
490
    /**
493
    /**
494
     * Test, if breakpoints are active.
495
     * @return <code>true</code> when breakpoints are active, <code>false</code>
496
     * otherwise. The default implementation returns <code>true</code>, to be overridden
497
     * when needed.
498
     * @since 2.42
499
     */
500
    public boolean getBreakpointsActive() {
501
        return true;
502
    }
503
    
504
    /**
505
     * Set all breakpoints to be active / inactive.
506
     * Activation or deactivation of breakpoints should not alter the enabled/disabled
507
     * state of individual breakpoints.
508
     * The default implementation does nothing, override
509
     * together with {@link #getBreakpointsActive()} when needed.
510
     * @param active <code>true</code> to make all breakpoints active,
511
     *               <code>false</code> to make all breakpoints inactive.
512
     * @since 2.42
513
     */
514
    public void setBreakpointsActive(boolean active) {
515
    }
516
    
517
    /**
491
     * Adds property change listener.
518
     * Adds property change listener.
492
     *
519
     *
493
     * @param l new listener.
520
     * @param l new listener.

Return to bug 79027