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