xInfo.breakpoint Method [AX 2012]
Gets or sets information about breakpoints.
The container that holds information about breakpoints is of the format:
-
Item 1: Version number
-
Items 2 - 4, 5-7, … 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.