Executable Property

Home Page (Objects)OverviewFAQReference

Applies to: Breakpoint object

Gets the description of the .exe or .dll in which a breakpoint is set.

Syntax

object.Executable

Parameters

object

An expression that evaluates to a Breakpoint object.

Remarks

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

The Executable property gets the description that appears in the Breakpoints dialog box. For example, this description might include only the file name, or it might include the full path to the .exe or .dll.

Example

The following example finds the path to the .exe used by the first breakpoint in the Breakpoints collection:

Dim bps
Dim path
Set bps = Debugger.Breakpoints
path = bps.Item(1).Executable