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
Hot Topic (More than 8 Replies) esp8266 gdb debugger (Read 8634 times)
mair
Newbies
*
Offline


Posts: 1
Joined: Feb 26th, 2016
esp8266 gdb debugger
Feb 26th, 2016 at 5:00am
Print Post  
Hi,
A new GDB stub Debugger has been released for the esp8266 https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=... there has also been a port into the arduino library https://github.com/esp8266/Arduino/blob/master/libraries/GDBStub/README-lib.md
It would be awsome! to have real time debugging and stack tracing in visual micro. Any chance of that happening?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: esp8266 gdb debugger
Reply #1 - Feb 26th, 2016 at 12:34pm
Print Post  
Thanks, that's good news. I wanted to try out the esp. Did you follow the install guide for the Zero/M0 Gdb yet? If you have the VS gdb stuff installed then we can probably experiment quite easily with the esp
  
Back to top
WWW  
IP Logged
 
Nevyn
Junior Member
**
Offline


Posts: 11
Location: North Yorkshire
Joined: Apr 13th, 2016
Re: esp8266 gdb debugger
Reply #2 - Sep 9th, 2016 at 5:34am
Print Post  
Did this ever get developed?  I'm interested in this feature.

Regards,
Mark
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: esp8266 gdb debugger
Reply #3 - Sep 9th, 2016 at 2:28pm
Print Post  
No, haven't had a change to try it yet.
  
Back to top
WWW  
IP Logged
 
Oleg
Newbies
*
Offline


Posts: 4
Location: Russia
Joined: Sep 27th, 2016
Re: esp8266 gdb debugger
Reply #4 - Sep 27th, 2016 at 4:11am
Print Post  
Hello!
I'm interested in this feature too.
Maybe you have some plans about it?
Thanks!
  
Back to top
 
IP Logged
 
Oleg
Newbies
*
Offline


Posts: 4
Location: Russia
Joined: Sep 27th, 2016
Re: esp8266 gdb debugger
Reply #5 - Oct 12th, 2016 at 11:41am
Print Post  
Hello!
Any news/plans about GDB for esp?
« Last Edit: Oct 12th, 2016 at 11:41am by Oleg »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: esp8266 gdb debugger
Reply #6 - Oct 12th, 2016 at 11:54am
Print Post  
Hi,

From what I have read it just about supports one breakpoint and is unreliable. 

I think the word gdb sounds good but the reality won't be very useful for most people.

So it is on the list but not at the top. 

Have you used the standard Visual Micro debugger?
  
Back to top
WWW  
IP Logged
 
Oleg
Newbies
*
Offline


Posts: 4
Location: Russia
Joined: Sep 27th, 2016
Re: esp8266 gdb debugger
Reply #7 - Oct 13th, 2016 at 2:50pm
Print Post  
Hello!
First of all sorry for my english:)
About GDB. If esp will support only 1 dynamic breakpoint (without recompile) and call stack and watch local variables without recompile - it will be great! I think that it will be useful for many peoples, not just me:)
Please have a look
http://visualgdb.com/tutorials/esp8266/gdbstub/
But this program not for arduino.

About Visual Micro debugger. Yes, i have try it. But it's a little better than serial.print... Everything (set breakpoint, view variables) causes recompile.

If you will have some news about gdb and esp - please, contact me - i will be your beta tester:)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: esp8266 gdb debugger
Reply #8 - Oct 13th, 2016 at 3:24pm
Print Post  
Hi,

Yes I agree but you can also update variables with the visual micro debugger and also have multiple messages without need to stop the code so easier for many.

But I do agree that hardware debug also has many different advantages.

I am looking forward to trying to implementing it. Hopefully in the next month or two as soon as other issues are resolved.

Thanks for all the info.

  
Back to top
WWW  
IP Logged
 
Oleg
Newbies
*
Offline


Posts: 4
Location: Russia
Joined: Sep 27th, 2016
Re: esp8266 gdb debugger
Reply #9 - Oct 14th, 2016 at 6:38am
Print Post  
Ok! Thanks a lot!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint