Breakpoints not being hit in a Webservice hosted in IIS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pranavugore
    New Member
    • Aug 2010
    • 2

    Breakpoints not being hit in a Webservice hosted in IIS

    I am trying to debug a webservice that is hosted in IIS. When I open it through Visual Studio as a website, put a breakpoint and run it, it is executing as expected but none of the breakpoints are being hit.
    When I remove the virtual directory from IIS, I am able to hit the break points.

    One of the suggested solutions was to attach aspnet_wp process during Debug. But the aspnet_wp is not running on the system (I have checked the options 'Show processes from all users' and 'Show processes from all sessions').
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    see this http://msdn.microsoft.com/en-us/libr...36(VS.71).aspx

    Comment

    • pranavugore
      New Member
      • Aug 2010
      • 2

      #3
      I am following the procedure mentioned at http://msdn.microsoft.com/en-us/libr...36(VS.71).aspx, but I am still not able to debug.

      Comment

      • madankarmukta
        Contributor
        • Apr 2008
        • 308

        #4
        Hi,

        Try to load the PDB of an assembly.That help the compiler to identify the source of an assembly getting referred.

        Here is the way you can add a pdb refernce -
        Go to Tool --> Options --> Debugging --> Symbols

        Under Symbol Files location , refer the location of the PDB.For more details you can refer the link



        Hope this may help you.

        Thanks!

        Comment

        Working...