Debugging an exe without a project

On several occasions I have seen a feature request to debug an exe without a project. I love this feature request because we already have it. Just open the exe as a project. You can even configure the project to attach to the exe instead of launch it if you like. There is even a command line option for this -> devenv.exe /debugexe.

Comments (4)

  1. Ferris Beuller says:

    Why can I not set a breakpoint on fields changing, when attaching to a process?


    Microsoft Development Environment


    The following breakpoint cannot be set:

    When ‘someVariable’ changes

    Data breakpoints are not supported in the Common Language Runtime.




  2. Gregg Miskelly says:

    Managed debugging never supports data breakpoints, so I am not sure why you would only see this on attach. Are you debugging managed code?

Skip to main content