sybase.asa.procdebug.DebugScript class

You can write scripts to control debugger behavior. Scripts are classes that extend the DebugScript class.

The DebugScript class is as follows:

// All debug scripts must inherit from this class 

package sybase.asa.procdebug;

abstract public class DebugScript
{
    abstract public void run( IDebugAPI db, String args[] );
    /*
        The run method is called by the debugger
        - args will contain command line arguments
    */

    public void OnEvent( int event ) throws DebugError {}
    /*
	- Override the following methods to process debug events
	- NOTE: this method will not be called unless you call
		DebugAPI.AddEventHandler( this );
    */
   
}