Results 1 to 4 of 4

Thread: Debugging C# code ..

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    Debugging C# code ..

    I wrote a web service. I can debug the webservice code by attaching a w3p process. But in the debug mode the code looks like assembly language . I can't see my c# code in debug mode. is there any setting that I should do to be able to see the c# source code in debug mode?

    thanks

    nath

  2. #2
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: Debugging C# code ..

    When you built your service, did you build it in debug mode so the .pdb file gets created?

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Debugging C# code ..

    Quote Originally Posted by bnathvbdotnet
    I wrote a web service. I can debug the webservice code by attaching a w3p process. But in the debug mode the code looks like assembly language . I can't see my c# code in debug mode. is there any setting that I should do to be able to see the c# source code in debug mode?

    thanks

    nath
    Not if you're attempting to debug released code.

  4. #4
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    Re: Debugging C# code ..

    If you wrote the web service then you can install the debug version of the web service start the web service. And attach to the service which will allow you to debug the source.

    C# - .NET 1.1 / .NET 2.0

    "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something."
    _____________________
    Regular Expressions Library
    Connection String
    API Functions
    Database FAQ & Tutorial

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width