sybase.asa.procdebug.IDebugWindow interface

You can write scripts to control debugger behavior. In scripts, the debugger window is represented by the IDebugWindow interface.

The IDebugWindow interfaces is as follows:

// this interface represents a debugger window 
package sybase.asa.procdebug;
public interface IDebugWindow
{
    public int GetSelected();
    /*
        get the currently selected row, or -1 if no selection
    */

    public boolean SetSelected( int i );
    /*
        set the currently selected row.  Ignored if i < 0 or i > #rows
    */

    public String StringAt( int row );
    /*
        get the String representation of the Nth row of the window.  Returns null if row > # rows
    */

    public java.awt.Rectangle GetPosition();
    public void SetPosition( java.awt.Rectangle r );
    /*
        get/set the windows position within the frame
    */

    public void Close();
    /*
        Close (destroy) the window
    */
}