1 /******************************************************************************* 2 * Copyright (c) 2005, 2007 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.debug.ui.contexts; 12 13 import org.eclipse.debug.core.ILaunch; 14 15 /** 16 * Listeners are notified when a launch has suspended at a context 17 * where debugging should begin. For example, in a stack frame where 18 * a breakpoint has been encountered. 19 * <p> 20 * Clients are not intended to implement this interface. Generally, clients 21 * implement <code>ISuspendTrigger</code> and the debug platform registers 22 * as a suspend trigger listener. 23 * </p> 24 * @see ISuspendTrigger 25 * @since 3.3 26 */ 27 public interface ISuspendTriggerListener { 28 29 /** 30 * Notification the given launch has suspended at the 31 * specified context. 32 * 33 * @param launch 34 * @param context 35 */ 36 public void suspended(ILaunch launch, Object context); 37 38 } 39