Mis*_*aak 10 c# debugging visual-studio visual-studio-debugging visual-studio-2012
我看了看SO,但找不到答案,我确定它在那里虽然......?
在调试时,如果我在其上放置断点,如何获取return语句的值?我喜欢凝聚成一条线,只是看起来很漂亮.但我目前没有,因为我无法弄清楚如何调试返回的结果......?
using (IUnitOfWork context = new EFUnitOfWork())
{
var repo = new ReportRepository(context);
return repo.GetProcedureReport(startDate, endDate).ToList();
//return result.ToList();
}
Run Code Online (Sandbox Code Playgroud)
Jes*_*sen 16
在VS 2013中,您可以将变量$ ReturnValue添加到手表中.它包含函数的实际返回值.
| 归档时间: |
|
| 查看次数: |
4869 次 |
| 最近记录: |