Breakpoint on Field Change
From: Andrew Robinson (nemoby_at_nospam.nospam)
Date: 02/07/05
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: the memory could not be read"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: emergency about SQL Server connection"
- Next in thread: NuTcAsE: "Re: Breakpoint on Field Change"
- Reply: NuTcAsE: "Re: Breakpoint on Field Change"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Feb 2005 12:10:56 -0800
Give the following, is it possible to set a breakpoint in C# that fires when
the value of x changes. I want to see the line that is changing the field x.
Optionally, is it possible to fire a breakpoint when the value of x changes
to a specific value (ie x='hello').
thanks,
-Andrew
>>>>>>
private string x = string.Empty;
private void button1_Click(object sender, System.EventArgs e)
{
x = "new value";
}
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: the memory could not be read"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: emergency about SQL Server connection"
- Next in thread: NuTcAsE: "Re: Breakpoint on Field Change"
- Reply: NuTcAsE: "Re: Breakpoint on Field Change"
- Messages sorted by: [ date ] [ thread ]