Breakpoint will not currently be hit. No executable code associated with this line

后端 未结 9 1693
感情败类
感情败类 2021-01-07 23:50

I have a class in a .h file:

class Blah
{
public:
    Blah(){}
    virtual ~Blah(){}

    void WriteMessage( bool MessageReceived )
    {
        if(MessageR         


        
9条回答
  •  生来不讨喜
    2021-01-08 00:22

    I wound up having this issue too, the context of my app was a main app in C# which used unmanaged C++ code in a lower layer that I wanted to step into from the debugger. From the C# project properties I went into the Debug tab and under the Enable Debuggers section checked the "Enable unmanaged code debugging".

    C# Project Properties Debug Tab

提交回复
热议问题