Super helpful! I'm working on a huge program on the Nano and I really need to be able to inspect the values of several variables during execution to be able to see where it's breaking down. This is super helpful.
Bravo, de un am de zile folosesc și eu Visual studio Code cu funcție de debugg, dacă vrei să faci un proiect mai complex, nu ai altă variantă decât să folosești un degugger adevărat.
Just came across a video on Twitter of "Touchable Flames". The "flames" are made from water vapor and red led lights. It looks like flames, even while putting your hands through the misting.
Now that was something new and innovative! Congratulation! You continue to provide consistent and useful instructional and informative videos. Professionals and hobbyists really like that.
A word of warning about VSCode remote debugging more than 5 threads, its can be very unrespnsive. Additionally VSCode will have trouble with overloaded symbols in Ada code, it basically wont be able to send the full scoped variable to select the one of interest. So for small projects 3 or less threads than its ok.
Simple cheap brushed drone, coreless motors+esp32+A.I coding, pls create at least one AI coding based simple project in future to explain AI coding capability.
This is really great for the Arduino! Thank you. A shame about the esp32 (and 8266?) as so many pins are used in the debugging process. Still, this is very cool, thanks
fantastic discover, i am try =ing to use this thing with arduino mega but getting error for cant open source file for both of library "avr8-stud.h" and "app_api.h", and you help with that
Could someone explain what the last piece of hardware is that is being connected to the JTAG USB Programmer at minute 7:56? Is it a normal USB hub? Great Video!😀
If you start using anything else than the arduino ide, then I don't see the point of sticking to arduino boards. Just start using some proper uC with proper SDKs and proper debugging.
No. The "debug" solution for Arduino is actually just a debug emulation (that's why it is called a "stub"), that goes through the serial port. It does not support all the features of a real debugger and It can not debug every program. Further it uses additional space in the program memory, because it is implemented in software through the additional library. The ATTiny has not much space to begin with and the serial connection might be causing issues as well. The ESP32 on the other hand does support "real" debugging, but it also uses more pins for debugging.
There is only one problem: if you also want to use Serial for regular communication between your Arduino code and your PC, then this way of debugging doesn't work. But it's good to see yet another youtuber to finally switch to PlatformIO!
If you're talking about the Arduino Nano (or uno, or mega), then yes. With ESP32 and a JTAG debugger you can still do that (also esp32 has more than one serial port that can be used)
Being a professional software developer, I can tell you that it can't be further from the truth. Debuggers allow you to deeply investigate your code and make it safe and efficient, while not requiring to recompile every few minutes and waste a lot of time. It is simply impossible to achieve the same with simple print statements. People who can't operate a debugger will always be inefficient and earn less, becasue the need significantly more time for the same task and still can't prove their code to be relieable.
The video I've been waiting for, for a long long time. Thank you very much !!!
Well... This was my main argument _against_ Arduino. No real debugging, so it would seem I am not the only one to see this gap.
Super helpful! I'm working on a huge program on the Nano and I really need to be able to inspect the values of several variables during execution to be able to see where it's breaking down. This is super helpful.
I guess new version of ESP, like S3 have JTAG built in. Even easier. 🥰🥰
Thanks a lot for that explanation. That really makes code development professional!
Fantastic tutorial. Usually this setup require hours of searching/trying/re-trying work to make the system working.
Bravo, de un am de zile folosesc și eu Visual studio Code cu funcție de debugg, dacă vrei să faci un proiect mai complex, nu ai altă variantă decât să folosești un degugger adevărat.
Brilliant! Thank you very much. 😉👍
Finally - real debugging on an Arduino. That's gonna make a huge difference,
Super videa, you save me a lot of time - Thank You!
You have a gift for teaching. Truly remarkable!
Just came across a video on Twitter of "Touchable Flames". The "flames" are made from water vapor and red led lights. It looks like flames, even while putting your hands through the misting.
Now that was something new and innovative! Congratulation! You continue to provide consistent and useful instructional and informative videos. Professionals and hobbyists really like that.
Learned something new today.
have anyone successfully got debugger working using JTAG on the Macbook as well?
assuming same setup, VSCode, PlatformIO, ESP32
Your videos always make my day. Keep shining!
A word of warning about VSCode remote debugging more than 5 threads, its can be very unrespnsive. Additionally VSCode will have trouble with overloaded symbols in Ada code, it basically wont be able to send the full scoped variable to select the one of interest. So for small projects 3 or less threads than its ok.
*** What is the large aluminum block plugged into the jtag board? Thank you for the videos
Is just an USB hub
I gave up on arduino a long time ago. Much more efficient and powerful to use the native tools
You accidentally blurred the pin connections making them impossible to read
YES super useful tutorial !
Would the process for debugging an ESP8266 be the same as the ESP32? Great video and very helpful.
Thx, so many details missed by others
Very interesting tool. This upgrade arduino in a high level.Thank you very much for it
Thanks for the video ! -The jtag pinout is blured @7:57
Yeah, a small edit error. But you have the connections on the tutorial on the description
Brilliant Tutorial, it is awesome, thank you so much
Simple cheap brushed drone, coreless motors+esp32+A.I coding, pls create at least one AI coding based simple project in future to explain AI coding capability.
Super helpful! More like this please.
Thanks, brother for spreading the knowledge
This is really great for the Arduino! Thank you.
A shame about the esp32 (and 8266?) as so many pins are used in the debugging process.
Still, this is very cool, thanks
can you make a video on the new Arduino IDE 2.3.2 that include aready a debugger?!
fantastic discover,
i am try =ing to use this thing with arduino mega but getting error for cant open source file for both of library "avr8-stud.h" and "app_api.h", and you help with that
How do I debug ESP32 in Arduino IDE ? I don't want use PlatformIO because it is mysterious define configuration code.
No worries you are doing great job❤
it is a very useful video
thanks bro
Could someone explain what the last piece of hardware is that is being connected to the JTAG USB Programmer at minute 7:56? Is it a normal USB hub?
Great Video!😀
why esp32 pins were blur out in the video
Edit error. The schematic should be on top of the blur so you could see it. Sorry. I'll place the schematic in the description in a moment
Привет
Как передать gps координаты через ардуино или stm32 по wifi, по протоколу Cursor On Target (COT) на андройд ?
Great job. Visual Basic is great and better than Arduino IDE
THis would be super helfpful and useful thanks
If you start using anything else than the arduino ide, then I don't see the point of sticking to arduino boards. Just start using some proper uC with proper SDKs and proper debugging.
STM32?
arduino ide 2. 0 has buildin so no problem
where is tutrial page
electronoobs.com/eng_arduino_tut195.php
7:58 wiring of esp32 debugger is not visible please reupload the video
worth to watch
I wish I knew about this earlier...
nice
You make great videos... You should make a Udemy course to diversify your income.
I already have my own courses but unfortunately they are just in Spanish for now...
Can you debug attiny ?
No. The "debug" solution for Arduino is actually just a debug emulation (that's why it is called a "stub"), that goes through the serial port. It does not support all the features of a real debugger and It can not debug every program. Further it uses additional space in the program memory, because it is implemented in software through the additional library. The ATTiny has not much space to begin with and the serial connection might be causing issues as well.
The ESP32 on the other hand does support "real" debugging, but it also uses more pins for debugging.
There is only one problem: if you also want to use Serial for regular communication between your Arduino code and your PC, then this way of debugging doesn't work. But it's good to see yet another youtuber to finally switch to PlatformIO!
If you're talking about the Arduino Nano (or uno, or mega), then yes. With ESP32 and a JTAG debugger you can still do that (also esp32 has more than one serial port that can be used)
@@NoxoreosI was obviously referring to the first part of the video
Can you plz giveaway 1 DSO (digital signal oscilloscope) to me, its been 2years i am requesting almost everyone still didnt get.
👍👍👏👏👌👌
If you need a debugger you just a poor programmer. All one needs is printf and /or a scope.
Being a professional software developer, I can tell you that it can't be further from the truth. Debuggers allow you to deeply investigate your code and make it safe and efficient, while not requiring to recompile every few minutes and waste a lot of time. It is simply impossible to achieve the same with simple print statements. People who can't operate a debugger will always be inefficient and earn less, becasue the need significantly more time for the same task and still can't prove their code to be relieable.
earned an unsuscribe.
I'm pretty sure your comment was more important for the video than the subscription.
Nice explanation