Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug fluent APIs?

Fluent APIs are awesome. They give concise and readable code.
But it is a severe pain when something works as not expected.

Are there any ways to see the intermediate results of the method calls chain in VS? May be some add-ins?

like image 602
Pavel Voronin Avatar asked Mar 26 '13 07:03

Pavel Voronin


1 Answers

Since VS 2012 is is now possible to see returned results of methods in a chain. See autos window.

like image 118
Pavel Voronin Avatar answered Nov 15 '22 12:11

Pavel Voronin