Exemple #1
0
 public NativeBreakpoint(Debugger debugger, ModuleId module, uint token, uint offset, Func <INativeBreakpoint, bool> cond)
 {
     this.debugger = debugger;
     Module        = module;
     Token         = token;
     Offset        = offset;
     this.cond     = cond ?? condAlwaysTrue;
     isEnabled     = true;
     code          = null;
 }
Exemple #2
0
 public NativeBreakpoint(Debugger debugger, DebuggerCode code, uint offset, Func <INativeBreakpoint, bool> cond)
 {
     Debug.Assert(!code.IsIL);
     this.debugger = debugger;
     Module        = code.Method.Module.ModuleId;
     Token         = code.Method.Token;
     Offset        = offset;
     this.cond     = cond ?? condAlwaysTrue;
     isEnabled     = true;
     this.code     = code;
 }
Exemple #3
0
		public NativeBreakpoint(Debugger debugger, DebuggerCode code, uint offset, Func<INativeBreakpoint, bool> cond) {
			Debug.Assert(!code.IsIL);
			this.debugger = debugger;
			this.module = code.Method.Module.ModuleName;
			this.token = code.Method.Token;
			this.offset = offset;
			this.cond = cond ?? condAlwaysTrue;
			this.isEnabled = true;
			this.code = code;
		}
Exemple #4
0
		public NativeBreakpoint(Debugger debugger, ModuleName module, uint token, uint offset, Func<INativeBreakpoint, bool> cond) {
			this.debugger = debugger;
			this.module = module;
			this.token = token;
			this.offset = offset;
			this.cond = cond ?? condAlwaysTrue;
			this.isEnabled = true;
			this.code = null;
		}