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

后端 未结 9 1753
感情败类
感情败类 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:26

    For me, the answer was:

    Project Properties->C/C++->Optimization

    Set Optimization to : "Disabled (/Od)"

提交回复
热议问题