home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Main.bin
/
EnvironmentDebuggingOptions.java
< prev
next >
Wrap
Text File
|
1998-10-25
|
3KB
|
80 lines
/*
* Copyright 1998 Symantec Corporation, All Rights Reserved.
*/
package com.symantec.itools.vcafe.openapi.options;
/**
* The API used to represent and access the debugging-related options of the Visual Cafe environment.
* These options that appear in the "Debugging" tab in the Environment Options dialog.
* <p>Use <code>EnvironmentOptionSet.getDebuggingOptions()</code> to get an instance of this object.
*
* @see com.symantec.itools.vcafe.openapi.VisualCafe#getEnvironmentOptionSet
* @see EnvironmentOptionSet#getDebuggingOptions
*
* @author Symantec Internet Tools Division
* @version 1.0
* @since VCafe 3.0
*/
public abstract class EnvironmentDebuggingOptions
{
/**
* Indicates incremental debugging is always performed.
* <p>When source files are changed during a debug session, they will be immediately
* recompiled and included in the current debug session.
* @see #getRunTimeEditing
*/
public static final int RUNTIMEEDITING_ALWAYS_COMPILE_CHANGES = 0;
/**
* Indicates the user will be queried before incrementally debugging.
* <p>When source files are changed during a debug session, the user will be prompted as to
* whether they should be recompiled and included in the current debug session.
* @see #getRunTimeEditing
*/
public static final int RUNTIMEEDITING_PROMPT_BEFORE_COMPILING_CHANGES = 1;
/**
* Indicates incremental debugging is never performed.
* <p>When source files are changed during a debug session, they are not recompiled for
* inclusion in the current debug session.
* @see #getRunTimeEditing
*/
public static final int RUNTIMEEDITING_ALWAYS_IGNORE_CHANGES = 2;
/**
* Gets the current incremental debugging mode.
* @return One of:<ul type=circle>
* <li>RUNTIMEEDITING_ALWAYS_COMPILE_CHANGES - always debug incrementally,
* <li>RUNTIMEEDITING_PROMPT_BEFORE_COMPILING_CHANGES - ask user before debugging incrementally, or
* <li>RUNTIMEEDITING_ALWAYS_IGNORE_CHANGES - never debug incrementally.
* </ul>
*/
public abstract int getRunTimeEditing();
/**
* Determines whether the debugger will display "value tips".
* <p>Value tips automatically indicate, after a certain delay, the value of the object that the
* mouse is currently over.
* @return <code>true</code> if value tips are enabled, <code>false</code> otherwise.
* @see #getValueTipsDelay
*/
public abstract boolean isEnableValueTips();
/**
* Gets the delay, in tenths of a second, before the debugger will display a "value tip".
* <p>Value tips automatically indicate, after a certain delay, the value of the object that the
* mouse is currently over.
* <p>Note: Value tips must be enabled before they display.
* @return delay before value tips are shown.
* @see #isEnableValueTips
*/
public abstract int getValueTipsDelay();
/**
* Determines whether the Visual Cafe environment will automatically switch to the "Debug" workspace
* when starting a debug session.
* @return delay before value tips are shown.
*/
public abstract boolean isSwitchToDebugWorkspaceOnRun();
}