Function Property

Home Page (Objects)OverviewFAQReference

Applies to: Breakpoint object

Gets the name of the function in which a breakpoint is set.

Syntax

object**.Function**

Parameters

object

An expression that evaluates to a Breakpoint object.

Remarks

The Function property has the String type and applies only to location breakpoints.

The Function property gets the name of the function from the Breakpoints dialog box.

Example

The following example finds the name of the function used by the first breakpoint in the Breakpoints collection:

Dim bps
Dim name
Set bps = Debugger.Breakpoints
name = bps.Item(1).Function

See Also   Executable property.