Author Topic: Arduino debugging - GNU GCC Compiler  (Read 490 times)

Offline Ringhio23

  • Single posting newcomer
  • *
  • Posts: 1
Arduino debugging - GNU GCC Compiler
« 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?
« Last Edit: December 11, 2018, 10:52:06 am by Ringhio23 »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11394
    • Travis build status
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2171
Re: Arduino debugging - GNU GCC Compiler
« Reply #2 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