VS2010Beta1でHistoricalDebuggerを試しています。
設定でオンにしていますが(少なくとも私はそう思います)、オブジェクトを調べようとすると、値は次のようになります。
[履歴データは収集されていません]
これを取得して実際の値を表示する方法はありますか?
問題のコードは次のとおりです。
public partial class Form1 : Form
{
public Form1()
{InitializeComponent();}
private void button1_Click(object sender, EventArgs e)
{
int numer = Int32.Parse(txtNumerator.Text) ;
int denom = Int32.Parse(txtDemoninator.Text);
float answer = DivideValues(numer, denom);
txtAnswer.Text = answer.ToString();
}
private static float DivideValues(int numer, int denom)
{
float answer = numer / denom;
return answer;
}
}