SharePoint调试可能用到的一些工具

SPDisposeCheck
The SharePoint APIs allocate COM - based memory that the Common Language Runtime (CLR)
garbage collector does not release. For this reason, you need to explicitly call the Dispose() method
on certain objects such as the SPSite and SPWeb objects. If you don ’ t, you will get memory leaks in
your application, and it can be hard to track down which pieces of your code are causing the leaks.
For this reason, Microsoft released a tool called SPDisposeCheck , which will scan your code and
tell you where you are not releasing this memory because of not calling the Dispose() method. This
tool will save you a lot of time and heartache in tracking down memory leaks. You can download
SPDisposeCheck from http://code.msdn.microsoft.com/SPDisposeCheck .

 

Visual Round Trip Analyzer
The Visual Round Trip Analyzer (VRTA) sits on top of the network monitor tool from Microsoft
and is a free add - on. It visualizes how long it takes a client to talk to a server — information
that you can then use to understand if you are making excessive round trips, if your code
is slowing down the pages (for example, because of loading many small JavaScript or CSS
fi les), or if there are network issues causing any problems between your application and the
server. You can download VRTA from http://www.microsoft.com/downloads/details
.aspx?FamilyID=119f3477-dced-41e3-a0e7-d8b5cae893a3&displaylang=en


Fiddler
No discussion of debugging tools would be complete without mentioning Fiddler. Fiddler is a web
debugging proxy that logs all HTTP traffi c between your computer and the Internet. Fiddler allows
you to inspect all HTTP traffi c, set breakpoints, and view your incoming and outgoing data. It is an
essential tool to help you understand what server variables are coming back from your server, what
the payload is, how many calls your client - side code took, and other factors that provide insight into
your applications.

转载于:https://www.cnblogs.com/annpaul/archive/2010/12/01/1893254.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值