Attach to running process?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kees de Winter

    #1

    Attach to running process?

    Is it possible to attach the VS2005 debugger to an already running, and
    published website? If I choose "Attach to process" from the menu and then
    select the right process, set breakpoints, run the code, nothing happens.


    Thanks for your help.
    --
    Kees


  • Eliyahu Goldin

    #2
    Re: Attach to running process?

    Is your VS and the website on the same sever? What process are you attaching
    to?

    --
    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]




    "Kees de Winter" <nospam@nospam. orgwrote in message
    news:45f691eb$0 $30727$ba620dc5 @text.nova.plan et.nl...
    Is it possible to attach the VS2005 debugger to an already running, and
    published website? If I choose "Attach to process" from the menu and then
    select the right process, set breakpoints, run the code, nothing happens.
    >
    >
    Thanks for your help.
    --
    Kees
    >
    >

    Comment

    • Kees de Winter

      #3
      Re: Attach to running process?

      Yes it's on the same server (development), I am attaching to the process
      IEXPLORE.EXE (although attaching to aspnet_wp.exe or inetinfo.exe didn't
      help as well). In VS in the margin of the breakpoint it says "The breakpoint
      will not currently be hit. No symbols have been loaded for this document".

      Thanks
      --
      Kees

      "Eliyahu Goldin" <REMOVEALLCAPIT ALSeEgGoldDinN@ mMvVpPsS.orgwro te in
      message news:uUDdnvWZHH A.1216@TK2MSFTN GP03.phx.gbl...
      Is your VS and the website on the same sever? What process are you
      attaching
      to?
      >
      --
      Eliyahu Goldin,
      Software Developer & Consultant
      Microsoft MVP [ASP.NET]


      >
      >
      "Kees de Winter" <nospam@nospam. orgwrote in message
      news:45f691eb$0 $30727$ba620dc5 @text.nova.plan et.nl...
      Is it possible to attach the VS2005 debugger to an already running, and
      published website? If I choose "Attach to process" from the menu and
      then
      select the right process, set breakpoints, run the code, nothing
      happens.


      Thanks for your help.
      --
      Kees
      >
      >

      Comment

      • Eliyahu Goldin

        #4
        Re: Attach to running process?

        IE runs the html and javascripts it gets from the site and knows nothing
        about asp.net. The correct process is aspnet_wp.exe. What do you observe
        when attaching to it? Do you have
        <compilation debug="true"/in the web.config file?


        --
        Eliyahu Goldin,
        Software Developer & Consultant
        Microsoft MVP [ASP.NET]




        "Kees de Winter" <nospam@nospam. orgwrote in message
        news:45f69f1e$0 $14700$ba620dc5 @text.nova.plan et.nl...
        Yes it's on the same server (development), I am attaching to the process
        IEXPLORE.EXE (although attaching to aspnet_wp.exe or inetinfo.exe didn't
        help as well). In VS in the margin of the breakpoint it says "The
        breakpoint
        will not currently be hit. No symbols have been loaded for this document".
        >
        Thanks
        --
        Kees
        >
        "Eliyahu Goldin" <REMOVEALLCAPIT ALSeEgGoldDinN@ mMvVpPsS.orgwro te in
        message news:uUDdnvWZHH A.1216@TK2MSFTN GP03.phx.gbl...
        >Is your VS and the website on the same sever? What process are you
        attaching
        >to?
        >>
        >--
        >Eliyahu Goldin,
        >Software Developer & Consultant
        >Microsoft MVP [ASP.NET]
        >http://msmvps.com/blogs/egoldin
        >http://usableasp.net
        >>
        >>
        >"Kees de Winter" <nospam@nospam. orgwrote in message
        >news:45f691eb$ 0$30727$ba620dc 5@text.nova.pla net.nl...
        Is it possible to attach the VS2005 debugger to an already running, and
        published website? If I choose "Attach to process" from the menu and
        then
        select the right process, set breakpoints, run the code, nothing
        happens.
        >
        >
        Thanks for your help.
        --
        Kees
        >
        >
        >>
        >>
        >
        >

        Comment

        • Kees de Winter

          #5
          Re: Attach to running process?

          Hi Eliyahu,

          Yes, I have <compilation debug="true"/in the web.config file.

          When I attach to aspnet_wp.exe, VS goes into sort of 'debug mode' (the stop
          and pause buttons appear). But never is any breakpoint "triggered" in the
          code-behind files when I call these pages in a browser.

          I understand I need to compile with symbolic information prior to debugging.
          There are no warnings of missing symbol info, but I also see no .pdb files
          in my project. If I simply run by hitting F5 the breakpoints work fine. I
          don't know what to look for now...

          --
          Kees


          "Eliyahu Goldin" <REMOVEALLCAPIT ALSeEgGoldDinN@ mMvVpPsS.orgwro te in
          message news:ubfkObXZHH A.1508@TK2MSFTN GP06.phx.gbl...
          IE runs the html and javascripts it gets from the site and knows nothing
          about asp.net. The correct process is aspnet_wp.exe. What do you observe
          when attaching to it? Do you have
          <compilation debug="true"/in the web.config file?
          >
          >
          --
          Eliyahu Goldin,
          Software Developer & Consultant
          Microsoft MVP [ASP.NET]


          >
          >
          "Kees de Winter" <nospam@nospam. orgwrote in message
          news:45f69f1e$0 $14700$ba620dc5 @text.nova.plan et.nl...
          Yes it's on the same server (development), I am attaching to the process
          IEXPLORE.EXE (although attaching to aspnet_wp.exe or inetinfo.exe didn't
          help as well). In VS in the margin of the breakpoint it says "The
          breakpoint
          will not currently be hit. No symbols have been loaded for this
          document".

          Thanks
          --
          Kees

          "Eliyahu Goldin" <REMOVEALLCAPIT ALSeEgGoldDinN@ mMvVpPsS.orgwro te in
          message news:uUDdnvWZHH A.1216@TK2MSFTN GP03.phx.gbl...
          Is your VS and the website on the same sever? What process are you
          attaching
          to?
          >
          --
          Eliyahu Goldin,
          Software Developer & Consultant
          Microsoft MVP [ASP.NET]


          >
          >
          "Kees de Winter" <nospam@nospam. orgwrote in message
          news:45f691eb$0 $30727$ba620dc5 @text.nova.plan et.nl...
          Is it possible to attach the VS2005 debugger to an already running,
          and
          published website? If I choose "Attach to process" from the menu and
          then
          select the right process, set breakpoints, run the code, nothing
          happens.


          Thanks for your help.
          --
          Kees


          >
          >
          >
          >

          Comment

          • Kees de Winter

            #6
            Re: Attach to running process?

            Anyone?
            Any help appreciated.

            --
            Kees


            "Kees de Winter" <nospam@nospam. orgwrote in message
            news:45f71ead$0 $2026$ba620dc5@ text.nova.plane t.nl...
            Hi Eliyahu,
            >
            Yes, I have <compilation debug="true"/in the web.config file.
            >
            When I attach to aspnet_wp.exe, VS goes into sort of 'debug mode' (the
            stop
            and pause buttons appear). But never is any breakpoint "triggered" in the
            code-behind files when I call these pages in a browser.
            >
            I understand I need to compile with symbolic information prior to
            debugging.
            There are no warnings of missing symbol info, but I also see no .pdb files
            in my project. If I simply run by hitting F5 the breakpoints work fine. I
            don't know what to look for now...
            >
            --
            Kees
            >
            >
            "Eliyahu Goldin" <REMOVEALLCAPIT ALSeEgGoldDinN@ mMvVpPsS.orgwro te in
            message news:ubfkObXZHH A.1508@TK2MSFTN GP06.phx.gbl...
            IE runs the html and javascripts it gets from the site and knows nothing
            about asp.net. The correct process is aspnet_wp.exe. What do you observe
            when attaching to it? Do you have
            <compilation debug="true"/in the web.config file?


            --
            Eliyahu Goldin,
            Software Developer & Consultant
            Microsoft MVP [ASP.NET]




            "Kees de Winter" <nospam@nospam. orgwrote in message
            news:45f69f1e$0 $14700$ba620dc5 @text.nova.plan et.nl...
            Yes it's on the same server (development), I am attaching to the
            process
            IEXPLORE.EXE (although attaching to aspnet_wp.exe or inetinfo.exe
            didn't
            help as well). In VS in the margin of the breakpoint it says "The
            breakpoint
            will not currently be hit. No symbols have been loaded for this
            document".
            >
            Thanks
            --
            Kees
            >
            "Eliyahu Goldin" <REMOVEALLCAPIT ALSeEgGoldDinN@ mMvVpPsS.orgwro te in
            message news:uUDdnvWZHH A.1216@TK2MSFTN GP03.phx.gbl...
            >Is your VS and the website on the same sever? What process are you
            attaching
            >to?
            >>
            >--
            >Eliyahu Goldin,
            >Software Developer & Consultant
            >Microsoft MVP [ASP.NET]
            >http://msmvps.com/blogs/egoldin
            >http://usableasp.net
            >>
            >>
            >"Kees de Winter" <nospam@nospam. orgwrote in message
            >news:45f691eb$ 0$30727$ba620dc 5@text.nova.pla net.nl...
            Is it possible to attach the VS2005 debugger to an already running,
            and
            published website? If I choose "Attach to process" from the menu
            and
            then
            select the right process, set breakpoints, run the code, nothing
            happens.
            >
            >
            Thanks for your help.
            --
            Kees
            >
            >
            >>
            >>
            >
            >
            >
            >

            Comment

            Working...