Table of Contents

Class ScriptBreakpointsBase

Namespace
Alternet.Scripter.Debugger
Assembly
Alternet.Scripter.Debugger.Common.v9.dll

Provides list of Breakpoint objects.

public class ScriptBreakpointsBase : IScriptBreakpoints, IUpdate
Inheritance
ScriptBreakpointsBase
Implements
Derived

Constructors

ScriptBreakpointsBase(IScriptDebuggerBase)

Initializes a new instance of the ScriptBreakpoints class with corresponds to specified ScriptDebugger object.

Properties

Breakpoints

Gets an array of Breakpoint objects.

Debugger

Represents ScriptDebugger owner of this ScriptBreakpoints.

UpdateCount

When implemented by a class, keeps track of calls to BeginUpdate and EndUpdate so that they can be nested.

Methods

AddBreakpoint(string, int)

Adds a Breakpoint to the list.

AddBreakpointInternal(Breakpoint)
BeginUpdate()

Maintains performance while breakpoints are added/removed one at a time by preventing the Changed event from being fired.

Clear()

Removes all breakpoints.

DisableUpdate()

Maintains performance while breakpoints are added/removed one at a time by preventing the Changed event from being fired. Using DisableUpdate/EnableUpdate to prevent notifying about updating the object state.

EnableBreakpoint(Breakpoint, bool)

Enables or disables specified breakpoint.

EnableBreakpointInternal(Breakpoint, bool)
EnableUpdate()

Maintains performance while breakpoints are added/removed one at a time by preventing the Changed event from being fired. Using DisableUpdate/EnableUpdate to prevent notifying about updating the object state.

EndUpdate()

Maintains performance while breakpoints are added/removed one at a time by preventing the Changed event from being fired.

LoadFile(string)

Loads breakpoint content from the specified file.

LoadStream(Stream)

Loads breakpoint content from the specified stream.

OnBreakpointAdded(Breakpoint)
OnBreakpointRemoved(Breakpoint)
OnBreakpointStateChanged(Breakpoint)
OnChanged()
RemoveBreakpoint(Breakpoint)

Removes a Breakpoint from the list.

RemoveBreakpointInternal(Breakpoint)
RemoveBreakpoints(IList<Breakpoint>)

Removes several Breakpoint from the list.

SaveFile(string)

Saves breakpoint content to the specific file.

SaveStream(Stream)

Saves breakpoint content to the specific stream.

Update()

Raises Changed event

Events

BreakpointAdded

Occurs when a breakpoint is added.

BreakpointRemoved

Occurs when a breakpoint is removed.

BreakpointStateChanged

Occurs when a breakpoint state is changed.

Changed

Occurs when breakpoints are changed.