More in this section

Debugging?

3 posts, 0 answered
  1. License Developer
    License Developer avatar
    31 posts
    Registered:
    18 Jun 2008
    09 Apr 2008
    Link to this post
    Hi, I'm evaluating Sitefinity and one thing that is raising a red flag for me is just how do you go about debugging custom code?

    I hope that I've just overlooked a simple answer to this but if we need to build a custom module or control how can I step through the code if the only time that I can run it is after it's been deployed?

    Thanks

    Brett
    BrettGarnier@lastpanda.com
  2. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    10 Apr 2008
    Link to this post
    1. Hello Brett,
    The modules you create are tightly integrated with Sitefinity, so you have to test/debug them with a working Sitefinity application. However, there is no need to deploy your site in order to debug it. You have two possible solutions:

    - Create (copy) an empty Sitefinity project on your workstation and open it from the file system in Visual Studio. This way you can add modules and controls locally and debug the project locally using the Cassini server from VS.

    - Create an empty Sitefinity project, register it in IIS and in VS open it from local IIS. Then again you'll be able to add controls and modules and debug them on IIS.

    For more information, you could check the Developers Manual, section Sitefinity in Visual Studio. I hope I understood you correctly, if you have any other questions, don't hesitate to ask.


    Kind regards,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. License Developer
    License Developer avatar
    31 posts
    Registered:
    18 Jun 2008
    10 Apr 2008
    Link to this post
    That sounds great Yasen. I'm currently evaluating on an XP pro machine and using IIS so all of my work is local. Thanks for the info, the more that I look into this product the more that I'm hoping that we can adopt it, great stuff!
Register for webinar
3 posts, 0 answered