开发者

How silverlight code gets debugged

As an .xap file is added in the web project which runs at client side, then can anyone please explain how are 开发者_如何学Gowe able to debug the silverlight client side code?


If you are running the web server built into Visual Studio then Visual Studio is both hosting the web server and running the web client. This means you are able to debug both the client and server side code.

If you are using IIS to serve the site then you are still running the web client within Visual Studio.

As long has you have the "Debuggers" option set on the web project you will be able to set break points and step through the code.


In the web project properties, under ‘web’ tab all way at the bottom, there is a group called ‘Debuggers’, make sure you have Silverlight check box is checked. By checking the Silverlight check box you will be able to debug the client side code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜