I have a MSVC2013 solution with C # (managed) and C ++ (native) projects. One C # project is defined as a launch project . I want to start this project with debugging, which is usually achieved in devenv just by pressing F5.
However, I want to run the debugger in native mode only (i.e. there is no controlled debugging ). I can’t achieve this behavior by changing the settings of a C # project: it only has the option “Enable custom code debugging”, which allows you to enable or disable built-in debugging. The only standard way I know is to run the application without debugging, and then join the process using only native debugging.
Is there a way to automate this process? Ideally, a single button press should be sufficient to start self-debugging. Perhaps some expansion may simplify this task.
PS I encountered an unpleasant error in debugging in mixed mode, which completely debugs debugging in my case. This error in itself is not the topic of the question, it just explains why self-debugging with the C # launch project can be useful (and it is personally useful to me personally).
c ++ debugging c # visual-studio
stgatilov
source share