internal DnILCodeBreakpoint(SerializedDnModule module, uint token, uint ilOffset, IBreakpointCondition bpCond)
     : base(bpCond)
 {
     this.module = module;
     this.token = token;
     this.ilOffset = ilOffset;
 }
Exemple #2
0
 /// <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;
 }
Exemple #3
0
 /// <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;
 }
Exemple #4
0
 /// <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) {
		}
Exemple #6
0
 protected DnBreakpoint(IBreakpointCondition bpCond)
 {
     this.bpCond = bpCond ?? AlwaysBreakpointCondition.Instance;
 }
 internal DnDebugEventBreakpoint(DebugEventBreakpointType eventType, IBreakpointCondition bpCond)
     : base(bpCond)
 {
     this.eventType = eventType;
 }
Exemple #8
0
 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;
 }
Exemple #11
0
 protected DnBreakpoint(IBreakpointCondition bpCond)
 {
     this.bpCond = bpCond ?? AlwaysBreakpointCondition.Instance;
 }