Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
Pages: 1 2 3 
Send Topic Print
Error when building with avr_gdb library (Read 1875 times)
Visual Micro

Posts: 10556
United Kingdom
Re: Error when building with avr_gdb library
Reply #40 - Jan 15th, 2020 at 9:53pm
Thanks that will be useful but I should add that Visual Micro doesn't have any rethinking to do. We just hook up what is there. Non of the microcontroller debugging is as perfect as windows debugging that is for sure.

The choice of debugger can vary the gdb experience a lot. Each has it's own strenghts. The only strenght of the gdbStub compared to real avr hardware debug is the fact that you don't need to buy a hardware debugger.

The difference in gsb also vararies dramatically for each type of micro controller. Furthermore, many micro controllers support a variety of different hardware debuggers and each hardware debugger has different strenghts and quirks.

All we can do with the current state of the market is to make everything work as much as it is capable of.

The serial debugging might seem weak from point of view of stepping or live variable watch but it support lots of trace points and because it uses standard arduino serial it is more robust and faster.

Sorry there isn't a perfect world but if you find one it would be good to hear about it. An Atmel ICE debugger might give you better results on the mega2560, it will use the ICSP port on the board instead of the serial and doesn't kill the processor in the same was as gdbstub.
Back to top
IP Logged
Abbott HMG
Junior Member

Posts: 55
Bedford, NY, USA
Re: Error when building with avr_gdb library
Reply #41 - Jan 17th, 2020 at 11:16pm
Went back to serial. Now it looks as if my handling of the strings used to populate json are giving me a problem.

I'll stick with VisualMicro. Can't beat the support.
Back to top
IP Logged
Pages: 1 2 3 
Send Topic Print