Partager via


IDebugFunctionObject2

Represents a function and enhances the IDebugFunctionObject interface.

IDebugFunctionObject2 : IUnknown

Notes for Implementers

An expression evaluator (EE) implements this interface to represent a function.

Notes for Callers

Methods of this interface defer those of IDebugFunctionObject in the following ways:

  • The IDebugEvaluate method takes flags.

  • The CreateObject method takes flags and a timeout.

  • The CreateStringObjectWithLength method takes a length.

Methods

This interface implements the following methods:

Method

Description

IDebugFunctionObject2::CreateObject

Creates an object that uses a constructor given evaluation flag settings and a timeout value.

IDebugFunctionObject2::CreateStringObjectWithLength

Creates a string object that has the specified length.

IDebugFunctionObject2::Evaluate

Calls the function and returns the resulting value as an object.

Requirements

Header: Ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll