Copied to clipboard

Flag this post as spam?

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


  • Kurt 29 posts 111 karma points
    Jul 05, 2016 @ 19:35
    Kurt
    0

    How to debug custom cs file/code in Visual Studio?

    Using Umbraco 7.2.8 (not the NuGet installation) and VS 2012.

    I've opened the site in VS by doing a File>Open Web Site. I'm attaching the debugger to a running process, w3wp.exe (I have a localsite running on my computer).

    I have a separate file with my own namespace and class, to hook into some of the Umbraco API events. But when I place breakpoints anywhere in this file, I get the "no symbols have been loaded" and the breakpoint never gets hit. I noticed if I place a breakpoint in some other file (

    How can I get this working?

Please Sign in or register to post replies

Write your reply to:

Draft