element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Blog The First Practical Arduino Debugger
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Arduino requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 30 Sep 2012 12:16 AM Date Created
  • Views 1295 views
  • Likes 3 likes
  • Comments 6 comments
  • arduino_debug
  • uart
  • arduino_development
Related
Recommended

The First Practical Arduino Debugger

Former Member
Former Member
30 Sep 2012

This tutorial shows how to get started with the Arduino debug tools from Visual Micro.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The debug tool is integrated into Microsoft Visual Studio Professional and Atmel Studio development systems which also provide 100% compatible Arduino programming, compile and upload.

 

Programming with a debugger has long been considered an important tool for every software developer. Arduino does not normally provide debug facilities, so this tool is, in some ways, breaking new ground.

 

In this video we demonstrate how to add breakpoints that allow us to inspect expressions while an Arduino is running.

 

This video tutorial also demonstrates how to add conditions to breakpoints. Conditions are very useful when looking for exceptions to the "norm".

 

The tutorial also shows how to switch between normal Arduino compilation and debug compilation, how to compile and how to upload to any Arduino board.

 

The Arduino plugin for Visual Studio is free, the debug tool, which is in final beta, will be an optional low cost upgrade but is currently available for free to anyone who wants to try it. We expect this offer to end in December 2012. To obtain a free copy of the debug tool simply join the Visual Micro Forum and request to join the debug beta team. We currently have about 100 beta testers of various experience levels, the more the better!

 

The debug tools work with usb/serial which includes xbee.

  • Sign in to reply

Top Comments

  • mcb1
    mcb1 over 12 years ago in reply to Former Member +1
    Bill You may wish to keep an eye on 12blocks. Hanno is busy finishing his testing of the Arduino implementation, which has some excellent features. As well as real-time debugging and monitoring of the…
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to teprojects1 +1
    Junaid, how does that link relate to the rest of the article?
  • fvan
    fvan over 8 years ago in reply to Jan Cumps +1
    And why revive a 4yo thread anyway?
  • fvan
    fvan over 8 years ago in reply to Jan Cumps

    And why revive a 4yo thread anyway?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to teprojects1

    Junaid,

    how does that link relate to the rest of the article?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • teprojects1
    teprojects1 over 8 years ago
    This comment was deleted.
    • Cancel
    • More
    • Cancel
  • mcb1
    mcb1 over 12 years ago in reply to Former Member

    Bill

    You may wish to keep an eye on 12blocks.

    Hanno is busy finishing his testing of the Arduino implementation, which has some excellent features.

    As well as real-time debugging and monitoring of the variables, it allows them to be changed in real-time.

    No change in bootloader is required, and it also allows multi-thread processing ie running several sketches at the same time on the hardware.

     

    All this and multi-platform support and drag and drop programming, as well as code ...its very clever.

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Hello billabott, the debug tool was announced in may of this year on arduino.cc forum and opened for beta testers a short time after that. There wasn't a huge public announcement because we could not have responded quickly to more than a few beta testers at all once. Since may the beta team has grown to about 100 people, the product has matured and is being used by a wide range of users from novice to expert. we have had great feedback which always makes things worthwhile. The open source visualizations were included in August and we are now at a stable point where the debug tool is ready for the wider audience.

     

    The debug tool relies heavily on the free Arduino plugin for Visual Studio. The plugin was released in a crude form in 2009/2010, re-vamped in 2011 to provide all of the features of the Arduino such as others cores, burning bootloaders, using programmers and of course the usual compile, serial upload etc. The plugin is a complete Arduino solution and the plan shortly is to provide a platform builder allowing us (or users) to register new non-arduino platforms such as TI, ChipKit, Maple, Due etc.

     

    As concerns the YouTube video it plays okay for me and maybe will for you if you try again. At 25 minutes length I think it is too long and slow for experienced users so I was wondering if the problem you encountered was that you fell asleep? image image

    Only joking, we will make a series of shorter tutorials over the coming weeks.

     

    ps: To make one thing clear. You are right that we do not need an expensive hardware programmer to debug Arduino but the debug tool will probably cost 30-40 dollars. The tool works at a higher level than a hardware programmer. For many, this is a benefit because it is easier to use and to diagnose problems, but for experts or certain applications it might not be what is required. It is encouraging that we have some "experts" on the beta test team, their feedback so far is that they don't bother with hardware debuggers anymore.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube