Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 2 [3]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Error when building with avr_gdb library (Read 16629 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error when building with avr_gdb library
Reply #40 - Jan 15th, 2020 at 9:53pm
Print Post  
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
WWW  
IP Logged
 
Abbott HMG
Junior Member
**
Offline


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

Thanks
I'll stick with VisualMicro. Can't beat the support.
Abbott
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 
Send TopicPrint