A way to retrieve SQL statement from SharePoint native call stack

In some situations of SharePoint slow is caused by SQL SERVER or poor SQL statements. To resolve issue, we usually catch a hang dump and figure out what exactly SharePoint doing at that hanging moment. If the performance issue caused by customized code. There are too much easy way to display SharePoint callstack like !clrstack/!dumpstack…

0