Glimpse/Glimpse — pull request #722 by malmgren80 (2014-01-31 15:34:39+00:00)
Title: Issue #472 : Spike of stacktraces for all ado.net queries #1337oss 

Show stacktrace for all ado.net queries #472
https://github.com/Glimpse/Glimpse/issues/472

Things to consider:
- Feature toggle for stacktrace. Currently all ado.net calls log stacktrace.
- Currently stacktrace is only displayed when there isnt an exception (they already contains stacktrace), but they are always logged in a finally clause. Maybe they should be logged after each db call instead to improve performance.
- Filtering out stacktrace frames from non user code. See mail-list for discussion about blacklist and whitelist filters.

A possible (?) bugfix was also in this commit. In GlimpseDbCommand method ExecuteDbDataReaderAsync a call was made to LogCommandError without setting the isAsync parameter to true.