11 Replies Latest reply on Sep 20, 2018 8:18 PM by lk960825_3660966

    Why is my project running properly under the Debug version and failing under the Release version?

    lk960825_3660966

      Hello everyone:

        My project was originally created in the 1.3.3 SDK, and both the Release version and the Debug version can run very well. When I upgraded the SDK to 1.3.4, I found that my project was able to run well under the Debug version, but the Release version would fail.Have you encountered this situation?

       

      Here is my questions:

           1.I hope to get the difference between the Debug version and the Release version.

           2.I want to know where the Release version compiler will optimize.

           3.I hope to get more details about the APIs such as CyU3PDebugPrint(), CyU3PUartTransmitBytes(), CyU3PUartReceiveBytes(), etc.

           4.I want to know which way to find a solution to this situation? Or what is the problem?

       

      Here is my configuration of paths:

      1.

      123.png

       

      2.The operating system used is Windows10.

       

      Attachment is my source code

       

      everyone can reply.

       

      Best regards,

      Luca L.