This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

"no symbols are defined" is displayed at debugging

Other Parts Discussed in Thread: MSP430FR2633

IDE:Code Composer Studio

Board:Captivate MSP430FR2633

The message "no symbols are defined" is displayed when debugging.


After modifying the source code and doing build, Debug and Run, the message is displayed and Debug stops.
If I delete the modified source code part and build, Debug and Run, I can debug without any problem.

I want to know the reason why "no symbols are defined" and solve this problem.

  • Hi,

    Could you share how you modified the code? It might related to add new symbols without definition. 

    Best regards,

    Cash Hao

  • Thank you for reply.
    I show you some code modyfing example.

    -----------------------------
    ①Debug without any problem

            g_protocolProcessingVars.i8currPacketIndex = 3;

    -----------------------------
    ②Debug stops("no symbols are defined" is displayed )
     
            g_protocolProcessingVars.i8currPacketIndex = 0;
           
    -----------------------------
    ③Debug without any problem

            //g_protocolProcessingVars.i8currPacketIndex = 3;

    -----------------------------


    I don't understand why debugging stops just by changing the value of a variable, or the message "no symbols are defined" appears.
    "g_protocolProcessingVars.i8currPacketIndex" is already defined.

    I'm guessing there is a problem with the debug settings.


    Best regards,

    Kosei Yokoki

  • Hi Kosei,

    Dose tthe function is normal after you modify the code? Could you capture a screenshot about the probelm? I think the root casuse maybe is that the CapTIvate Lib not open for user, but I think this is should not affect your function.

    Thanks!

    Best Regards

    Johnson

  • Hi,Johnson

    I posted a screen capture when the "no symbols are defined" message appears.

    When I fix the code and debug stops, when I see disassembly, it stops with CAPT_blockOnFlag ().

    Does that mean that the code modifications are affecting CapTIvate Lib?


    Best Regards

    Kosei

  • Hi Kosei,

    This in normal, because the CapTIvate code not open to user, thus the lib file used in this project. When you debug this code via breakpoints, this message will occur.

    Thanks!

    Best Regards

    Johnson