Freigeben über


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

  • Anonymous
    March 18, 2004
    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.
    ---------------------------
    OK
    ---------------------------
  • Anonymous
    March 19, 2004
    Managed debugging never supports data breakpoints, so I am not sure why you would only see this on attach. Are you debugging managed code?