Can I find out the return value before returning while debugging in Visual Studio

Posted by doekman on Stack Overflow See other posts from Stack Overflow or by doekman
Published on 2008-11-06T09:24:43Z Indexed on 2010/06/06 17:02 UTC
Read the original article Hit count: 358

Filed under:
|

Take the following function:

DataTable go()
{
  return someTableAdapter.getSomeData();
}

When I set a breakpoint in this function, is there a possibility to inspect the returned value? The "go" function is directly coupled to a datagrid in an aspx page.

The only way to inspect the returned datatable, is to use a temporary variable... However, that's a bit inconvenient. Isn't there another way?

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio