Using Third-Party Tools

This topic describes the following third-party tools, which may be useful for troubleshooting:

JetBrains dotTrace

JetBrains dotTrace is a tool for analyzing the performance of your application. In particular, by using this tool, you can view the average running time for the methods in your application.

.NET Memory Profiler

.NET Memory Profiler is another tool for monitoring and analyzing issues on your server. By using this tool, you can take snapshots of the MYOB Advanced memory and isolate memory leaks.

WinDbg

WinDbg is a powerful tool that can open and analyze process dump files.

To use WinDbg, you first need to obtain two .dll files from the .NET Framework version installed on the machine where the dump file was created. You then load these files into WinDbg by using the .load command, and use the .symfix system command to set the symbol storing path, as shown below.

.load c:\sos\sos.dll
.load c:\sos\mscordacwks.dll
.symfix

You can then analyze all objects in the memory by using the following commands:

  • !dumpheap -stat (summary for objects of all types)
  • !dumpheap -type System.Data.SqlClient.SqlConnection (objects of a specific type)
  • !do 000007feeeca24a0 (object at a specific address)

By exploring the memory this way, you can obtain the value of each object instance in the current process, which may help you find the reason why the application is not working correctly.