Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sebastian Patten 10 posts 40 karma points
    Jan 11, 2010 @ 03:50
    Sebastian Patten
    0

    Attach to process

    Hi all - im trying to debug a user control of mine by attaching the debugger to process.

    Normally I just attach to the w3wp.exe process and hit the page. However when I am doing this it fires up one of those test URLs like when you do F5 in an application and creates a http://localhost:5080/Umbraco web app. 

    Why is it doing this? I assume that is stopping me from debugging the application.

     

    Thanks!

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jan 11, 2010 @ 04:56
    Aaron Powell
    0

    The http://locahost:... url is the one which Cassini is running on (Cassini is the web server built into Visual Studio). There will be no problem with this running, it's a different process (WebDevServer.exe or something).

    You can still attach to w3wp.exe (which is IIS under Windows Vista & Windows 7) or aspnet_wp.exe (Windows XP).

  • Dincer M. 35 posts 97 karma points
    Feb 14, 2011 @ 10:55
    Dincer M.
    0

    I am a newbie who just started to learn Umbraco using Webmatrix on Vista..

    When I try to debug, I don't see any "w3wp.exe" or "aspnet_wp.exe"

    Should I attach another process to be able to debug?

  • david 46 posts 81 karma points
    Feb 14, 2011 @ 11:53
    david
    0

    Not sure about vista, but on xp using webmatrix, the process to attach to is WebMatrix.exe

     

  • Dincer M. 35 posts 97 karma points
    Feb 15, 2011 @ 04:11
    Dincer M.
    0

    Thank you David, but I just figured it out..

    The process is "iisexpress.exe" as the site is running on IIS Express currently..

  • Heather Floyd 605 posts 1004 karma points MVP 5x c-trib
    Jan 23, 2012 @ 23:22
    Heather Floyd
    0

    Hi, I was wondering - is there a way to debug when running on a different server? I am using a dev server environment separate from localhost, so w3wp.exe and aspnet_wp.exe aren't available...

    Thanks!

  • Lennart Stoop 304 posts 842 karma points
    Jan 23, 2012 @ 23:27
    Lennart Stoop
    0

    If you're able to run the app on a dev server, I'm sure you could setup the environment on localhost? (which is my preffered way of debugging tbh).

    I haven't tried this before, but according to MSDN it should be possible if the pdb files are on the dev server:

    http://msdn.microsoft.com/en-us/library/bt727f1t(v=vs.100).aspx

    Let me know if that works, might give it a try when I'm not able to quickly setup an environment myself :-)

     

    Grtz

    L

Please Sign in or register to post replies

Write your reply to:

Draft