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 esp8266 WATCHDOG on breakpoint halt :( (Read 1503 times)
GoofBall
Newbies
*
Offline


Posts: 9
Joined: Jun 22nd, 2018
esp8266 WATCHDOG on breakpoint halt :(
Jun 22nd, 2018 at 5:59pm
Print Post  
I'm using: Wemos D1 mini board,  esp8266 ver 2.3.0. 
(yes, toolbar is set to "debug")... Debugging with VisualMicro (1806.2.1):

When I halt on a breakpoint, 8 seconds later the watchdog timer resets.   Inserting  ESP.wdtDisable();   (even right before the breakpoint) doesn't help.

How can I halt on a VisualMicro breakpoint without the watchdog timer triggering?? Lips Sealed
« Last Edit: Jun 22nd, 2018 at 6:00pm by GoofBall »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: esp8266 WATCHDOG on breakpoint halt :(
Reply #1 - Jun 23rd, 2018 at 12:22pm
Print Post  
Hi,

The debugger uses standard arduino command such as serial.print and sometimes delay()

There is some control of the delay() why switching to Debugger>Full Speed (No Throttle) but I suspect the issue is not going to resolve that easily.

If you switch on "show build folder" you will be able to see the debugger code that has been injected into the temp build files. For example breakpoints in .ino files will be in project_name.cpp

Any suggestions welcome.

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint