Code::Blocks Forums

User forums => Help => Topic started by: Ringhio23 on December 11, 2018, 10:47:36 am

Title: Arduino debugging - GNU GCC Compiler
Post by: Ringhio23 on December 11, 2018, 10:47:36 am
Hello everybody,
I'm using CodeBlocks for debugging an Arduino program. I can compile and play the program that I wrote if I use the Arduino IDE, but I found some bugs in it. That's why I decided to use CodeBlocks' debugger.
I installed CodeBlocks from here (http://www.codeblocks.org/downloads/26), choosing codeblocks-17.12mingw-setup.exe. Then I followed every word of this post (http://forums.codeblocks.org/index.php?topic=21570.0) but I couldn't solve the problem. Those four fatal errors are showed:

HID.cpp: No such file or directory
CDC.cpp: : No such file or directory
HardwareSerial.cpp: No such file or directory
IPAdrress.cpp: No such file or directory

Where should I find those files? Can somebody help me?
Title: Re: Arduino debugging - GNU GCC Compiler
Post by: oBFusCATed on December 11, 2018, 11:23:29 am
http://forums.codeblocks.org/index.php/topic,22966.msg156193.html#msg156193

Title: Re: Arduino debugging - GNU GCC Compiler
Post by: BlueHazzard on December 11, 2018, 06:26:51 pm
Are you aware that you need a device called "in circuit debugger" and some soldering work to debug an arduino uno/nano/micro and a jtag debugger and some soldering for all others?
Also you will not find any debug tools for arduino (atmega) on windows. Also, if you have compiling problems you should post a build log: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F