Class ScriptBreakpointsBase
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 specifiedScriptDebugger
object.
Properties
- Breakpoints
Gets an array of
Breakpoint
objects.
- Debugger
Represents
ScriptDebugger
owner of thisScriptBreakpoints
.
- UpdateCount
When implemented by a class, keeps track of calls to
BeginUpdate
andEndUpdate
so that they can be nested.
Methods
- AddBreakpoint(string, int)
Adds a
Breakpoint
to the list.
- 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.
- 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.
- RemoveBreakpoint(Breakpoint)
Removes a
Breakpoint
from the list.
- 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.