站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

SmartSteppingCallback (NetBeans Debugger JPDA API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.spi.debugger.jpda
Class SmartSteppingCallback

java.lang.Object
  extended byorg.netbeans.spi.debugger.jpda.SmartSteppingCallback

public abstract class SmartSteppingCallback
extends Object

Listens on stepping engine and defines classes / places the debugger can stop in.


Constructor Summary
SmartSteppingCallback()
           
 
Method Summary
abstract  void initFilter(SmartSteppingFilter f)
          Defines default set of smart stepping filters.
abstract  boolean stopHere(org.netbeans.spi.debugger.ContextProvider lookupProvider, JPDAThread thread, SmartSteppingFilter f)
          This method is called during stepping through debugged application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartSteppingCallback

public SmartSteppingCallback()
Method Detail

initFilter

public abstract void initFilter(SmartSteppingFilter f)
Defines default set of smart stepping filters. Method is called when a new JPDA debugger session is created.

Parameters:
f - a filter to be initialized

stopHere

public abstract boolean stopHere(org.netbeans.spi.debugger.ContextProvider lookupProvider,
                                 JPDAThread thread,
                                 SmartSteppingFilter f)
This method is called during stepping through debugged application. The execution is stopped when all registerred SmartSteppingListeners returns true.

Parameters:
thread - contains all available information about current position in debugged application
f - a filter
Returns:
true if execution should be stopped on the current position

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.