Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d74527a898f7cb6ed60028c20f6cd05f02e189b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 *(c) Copyright QNX Software Systems Ltd. 2002.
 * All Rights Reserved.
 * 
 */

package org.eclipse.cdt.debug.mi.core.command;

/**
 * 
 *   -break-disable ( BREAKPOINT )+
 *
 * Disable the named BREAKPOINT(s).  The field `enabled' in the break
 * list is now set to `n' for the named BREAKPOINT(s).
 * 
 * Result:
 *  ^done
 */
public class MIBreakDisable extends MICommand
{
	public MIBreakDisable (int[] array) {
		super("-break-disable"); //$NON-NLS-1$
		if (array != null && array.length > 0) {
			String[] brkids = new String[array.length];
			for (int i = 0; i < array.length; i++) {
				brkids[i] = Integer.toString(array[i]);
			}
			setParameters(brkids);
		} 
	}
}

Back to the top