开发者

debugging asp + silverlight app in IIS 5.1

开发者 https://www.devze.com 2023-02-08 07:27 出处:网络
I\'m having trouble debugging my asp+silverlight app on IIS 5.1. I tried to follow some tutorials, but with no result. Here it\'s what I\'ve tried:

I'm having trouble debugging my asp+silverlight app on IIS 5.1. I tried to follow some tutorials, but with no result. Here it's what I've tried:

  • Check "Enable ASP server-s开发者_运维技巧ide script debugging" for my websites, on IIS Manager
  • Set some breakpoints
  • Attach aspnet_wp.exe to my solution

Can anyone help?

EDIT: I want to be able to debug server side code (webservices)

Thanks in advance,


You do not need to fiddle with "Enable ASP server-side script debugging" to debug ASP.NET, that setting relates to the older script based ASP.

You are correct you need to attached to the aspnet_wp in Visual Studio. What is important to remember is that the Visual Studio can debug a range of different "Code Type". I prefer to control this manually. When attaching use the "Select..." button next to the "Attach to:" box and select "Managed (v2.0, v1.1, v1.0)" option.

You should now be able to debugging your ASP.NET and use break points.

0

精彩评论

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