Message Property

Home Page (Objects)OverviewFAQReference

Applies to: Breakpoint object

Gets the Windows message that will trigger a breakpoint.

Syntax

object.Message

Parameters

object

An expression that evaluates to a Breakpoint object.

Remarks

The Message property has the DsWindowsMessage type and applies only to message breakpoints.

Example

The following example gets the Windows message that will trigger the first breakpoint in the Breakpoints collection:

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