Источник:
http://axcoder.blogspot.com/2008/01/...small-bug.html
==============
Trace Parser is a new tool for profiling Dynamics Ax code. Unlike profiler, which makes execution of the code about 30 times slower, TraceParser takes extremely low resources - 4% according to
Alexey Eremenko blog)
But since it is in the "beta" stage, there are some problems with usability and stability.
For example, when I run the "trace summary" menu item on my trace I've got an exception. It seems (thanks to
reflector) the cause is in SqlTimeBreakDown function in SQL server Trace Parser database.
When I add condition to exclude division by zero, it results in empty
grid instead of exception.
This is the fix:
if @SQLTime>0 <SPAN class="comment">--