Share via


xInfo.breakpoint Method

Definition

Overloads

breakpoint(Object[])
breakpoint()

Gets or sets information about breakpoints.

breakpoint(Object[])

public:
 virtual cli::array <System::Object ^> ^ breakpoint(cli::array <System::Object ^> ^ _breakpoint);
public virtual object[] breakpoint (object[] _breakpoint);
abstract member breakpoint : obj[] -> obj[]
override this.breakpoint : obj[] -> obj[]
Public Overridable Function breakpoint (_breakpoint As Object()) As Object()

Parameters

_breakpoint
Object[]

A container that holds information about the current breakpoints.

Returns

Object[]

Applies to

breakpoint()

Gets or sets information about breakpoints.

public:
 virtual cli::array <System::Object ^> ^ breakpoint();
public virtual object[] breakpoint ();
abstract member breakpoint : unit -> obj[]
override this.breakpoint : unit -> obj[]
Public Overridable Function breakpoint () As Object()

Returns

Object[]

A container holding information about the current breakpoints.

Remarks

The container that holds information about breakpoints is of the format:

  • Item 1: Version number
  • Items 2 - 4, 5-7, to n - n+2: Information about each breakpoint, consisting of:
    • the AOT path
    • the line number on which the breakpoint is set
    • whether the breakpoint is enabled or disabled

In the application, this method is used by the Breakpoints form. When the form is opened it calls the getBreakpoints method on the form. This calls the xInfo.breakpoint method, and uses a container with the breakpoint information as a parameter. When a breakpoint is disabled, enabled, or deleted from the form, the setBreakpoints method is called. This updates the information about the breakpoints and returns this as a container using the xInfo.breakpoint method without using the breakpoint parameter. The container is used to update the breakpoint information in the Code Editor window.

Applies to