internal DnILCodeBreakpoint(SerializedDnModule module, uint token, uint ilOffset, IBreakpointCondition bpCond) : base(bpCond) { this.module = module; this.token = token; this.ilOffset = ilOffset; }
/// <summary> /// Creates an IL instruction breakpoint /// </summary> /// <param name="module">Module</param> /// <param name="token">Method token</param> /// <param name="ilOffset">IL offset</param> /// <param name="bpCond">Condition or null</param> /// <returns></returns> public DnILCodeBreakpoint CreateBreakpoint(SerializedDnModule module, uint token, uint ilOffset, IBreakpointCondition bpCond = null) { DebugVerifyThread(); var bp = new DnILCodeBreakpoint(module, token, ilOffset, bpCond); ilCodeBreakpointList.Add(module, bp); foreach (var dnMod in GetLoadedDnModules(module)) bp.AddBreakpoint(dnMod); return bp; }
/// <summary> /// Creates a debug event breakpoint /// </summary> /// <param name="eventType">Debug event</param> /// <param name="bpCond">Condition or null</param> /// <returns></returns> public DnDebugEventBreakpoint CreateBreakpoint(DebugEventBreakpointType eventType, IBreakpointCondition bpCond = null) { DebugVerifyThread(); var bp = new DnDebugEventBreakpoint(eventType, bpCond); debugEventBreakpointList.Add(bp); return bp; }
/// <summary> /// Creates a debug event breakpoint that gets hit on all debug events /// </summary> /// <param name="bpCond">Condition or null</param> /// <returns></returns> public DnAnyDebugEventBreakpoint CreateAnyDebugEventBreakpoint(IBreakpointCondition bpCond = null) { DebugVerifyThread(); var bp = new DnAnyDebugEventBreakpoint(bpCond); anyDebugEventBreakpointList.Add(bp); return bp; }
internal DnAnyDebugEventBreakpoint(IBreakpointCondition bpCond) : base(bpCond) { }
protected DnBreakpoint(IBreakpointCondition bpCond) { this.bpCond = bpCond ?? AlwaysBreakpointCondition.Instance; }
internal DnDebugEventBreakpoint(DebugEventBreakpointType eventType, IBreakpointCondition bpCond) : base(bpCond) { this.eventType = eventType; }
internal DnILCodeBreakpoint(SerializedDnModule module, uint token, uint ilOffset, IBreakpointCondition bpCond) : base(bpCond) { this.module = module; this.token = token; this.ilOffset = ilOffset; }
internal DnAnyDebugEventBreakpoint(IBreakpointCondition bpCond) : base(bpCond) { }
internal DnDebugEventBreakpoint(DebugEventBreakpointType eventType, IBreakpointCondition bpCond) : base(bpCond) { this.eventType = eventType; }
protected DnBreakpoint(IBreakpointCondition bpCond) { this.bpCond = bpCond ?? AlwaysBreakpointCondition.Instance; }