3 ms·
This is simply not true, lots of tools are able to tell you exactly which line of code is responsible for which query.
by jurre 12y ago
This is simply not true, lots of tools are able to tell you exactly which line of code is responsible for which query.
- bkeroack 12y agoSuch as? Using ASP.NET and NHibernate, I've not seen any way to do this other than old fashioned log statements and guesswork.
- daigoba66 12y agohttp://www.hibernatingrhinos.com/products/nhprof http://www.hibernatingrhinos.com/products/nhprof Worth every penny. You get full stack traces and line numbers automatically with each query.
- jurre 12y agoNot sure about .net since I don't use it but for ruby there are a lot of monitoring services that do this (skylight.io, newrelic etc).