編輯

共用方式為


IDebugVsaScriptCodeItem Interface

Definition

Defines methods that evaluate expressions and parse strings. This interface is typically implemented by an object that represents a code block, and it is typically called by a debugger. This interface provides extra functionality that is needed by an IActiveScript host.

This API supports the product infrastructure and is not intended to be used directly from your code.

public interface class IDebugVsaScriptCodeItem
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("6DFE759A-CB8B-4ca0-A973-1D04E0BF0B53")]
public interface IDebugVsaScriptCodeItem
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("6DFE759A-CB8B-4ca0-A973-1D04E0BF0B53")>]
type IDebugVsaScriptCodeItem = interface
Public Interface IDebugVsaScriptCodeItem
Attributes

Methods

Evaluate()

This API supports the product infrastructure and is not intended to be used directly from your code.

When implemented in a class, evaluates the block, expression, or statement represented by the code item and returns the value. It is typically called by a debugger that needs to evaluate an expression (in a Watch window, for example). For expressions, the value is the result of the expression. For blocks and statements, the resulting expression is the last expression calculated by the block or statement.

ParseNamedBreakPoint(String, String, Int32, String, String, UInt64)

This API supports the product infrastructure and is not intended to be used directly from your code.

When implemented in a class, parses strings and returns the parsed-out information. This method is typically called by a debugger that needs to parse information about a breakpoint that is represented as a string. The debugger might have a breakpoint typed in by the user in the form functionname-arguments-ILoffset. A named breakpoint string can have a complex format, for example, F.B(C.D[], int, arg : double ) : C.Abc + 123. The parameter list is optional, as is the IL offset.

Applies to