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 Send TopicPrint
Normal Topic Unable to get GDB debugging working (Read 2239 times)
atkinslg
Newbies
*
Offline


Posts: 2
Joined: Sep 8th, 2018
Unable to get GDB debugging working
Sep 8th, 2018 at 9:57am
Print Post  
Hi,
I am very new to the world of Arduino programming and C is a new language for me.I have found the standard Arduino IDE to be OK but am looking to be able to debug my code, especially to be able to step through it.

I have installed the Arduino IDE extension to VS 2017 and think it is a vast improvement over the standard IDE. The debugging facility has proved extremely useful, though I have read that the GDB debugger offers better options. I installed the Arduino GDB extension but I am not getting a Local GDB debugging option. Is there something else I need to install? 

Any help would be much appreciated.

Visual Studio Community 2017 version 15.8.3
Arduino GDB for Visual Micro 2017 version 15.170821.1
Arduino IDE for Visual Studio version 1808.30.4
The C++ Android development tools are installed.

Thanks...
Lloyd
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to get GDB debugging working
Reply #1 - Sep 8th, 2018 at 11:12am
Print Post  
Hi,

There has been a lot of changes in the IDE's in relation to GDB. It will be re-done over the coming months.

In the meantime I am sorry that there is no support time available to help people with GDB .

I suggest looking for an alternative or use the serial debugger

Thanks
« Last Edit: Sep 8th, 2018 at 11:13am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
atkinslg
Newbies
*
Offline


Posts: 2
Joined: Sep 8th, 2018
Re: Unable to get GDB debugging working
Reply #2 - Sep 8th, 2018 at 12:53pm
Print Post  
OK. Thanks for getting back to me Tim.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2173
Joined: Feb 13th, 2019
Re: Unable to get GDB debugging working
Reply #3 - Aug 21st, 2019 at 10:47am
Print Post  
vMicro now supports a range of additional hardware debuggers out of the box.

Debugger List: https://www.visualmicro.com/page/DebuggerSupportList.aspx
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint