Share via


Location Property

Home Page (Objects)OverviewFAQReference

Applies to: Breakpoint object

Gets the location of a breakpoint.

Syntax

object**.Location**

Parameters

object

An expression that evaluates to a Breakpoint object.

Remarks

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

The location is a line number (expressed as a string) or the name of a function or symbol.

Example

The following example gets the location of the first breakpoint in the Breakpoints collection:

Dim bps
Set bps = Debugger.Breakpoints
bps.Item(1).Location