英文:
how can I debug the code of my arduino without arduino zero
问题
唯一我知道如何调试Arduino的方式是使用SerialPort,这就像在工作中尝试了vsCode之后使用一种奇怪的工具。有人能展示一下更优先的方法是如何实现的吗?
SerialPort太慢了,如果我想要了解关键部分发生了什么,这并不是最佳的方式。
英文:
The only way I know how to debug an arduino is usen the SerialPort which is like using a odd tool after trying vsCode in my job. Could someone show me how is it the prefered way to acomplish it?
SerialPort is just too slow and if I want to know what is happening in a critical section is not the best way to do it.
答案1
得分: 0
Arduino没有自带的自定义调试工具。很抱歉告诉你,与大多数其他集成开发环境不同,Arduino IDE内没有官方的Arduino调试功能。
但是,多亏了社区,我们可以使用非官方工具,如Arduino模拟器和仿真器,或外部软件调试工具。个人更喜欢模拟器。一旦你习惯了它,就更简单了。
有关更多信息,请参阅:https://www.circuito.io/blog/arduino-debugging/
英文:
Arduino doesn’t come with a custom debugging tool. I`m sorry to tell you that unlike most other IDEs, there is no official Arduino debugging feature inside the arduino IDE.
However, thanks to the community we have access to unofficial tools like using Arduino simulators and emulators or and external software debuggin tool.
Personally I prefer simulator. Once you get use of it is simpler.
More about this here: https://www.circuito.io/blog/arduino-debugging/
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论