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.

[参考译文] 编译器/MSP430F5335:如何查看预主代码?

Guru**** 2380860 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/789421/compiler-msp430f5335-how-can-i-see-the-pre-main-code

器件型号:MSP430F5335

工具/软件:TI C/C++编译器

我正在尝试调试预主函数、但看不到 C 源代码。  C 源代码是否可用于预 main?  这是调试时出现的情况。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    哇、这个问题对于 CCSV9来说似乎很特别、在 CCSV8中、一切看起来都很好。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Silver、

    为了在 main 之前查看代码、您可以更改调试自动运行配置。

    转至项目属性->调试->自动运行和启动选项->自动运行选项->取消选中程序加载或重新启动以及复位上的复选框。 您应该能够在 main 之前调试代码。

    谢谢、
    是的