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) Debug requires Serial.begin()? (Read 4579 times)
Chris Molloy
Junior Member
**
Offline


Posts: 54
Location: Ontario, Canada
Joined: Dec 13th, 2012
Debug requires Serial.begin()?
Apr 7th, 2020 at 10:00pm
Print Post  
I was trying to debug a sketch.  The expressions window would not appear.  I added a Serial.begin(115200) to the sketch setup and now it is working.
Is it supposed to be that way?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debug requires Serial.begin()?
Reply #1 - Apr 7th, 2020 at 10:07pm
Print Post  
No, please send the project_name.cpp from the temp build folder and the output requested above.
« Last Edit: Apr 7th, 2020 at 10:07pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Chris Molloy
Junior Member
**
Offline


Posts: 54
Location: Ontario, Canada
Joined: Dec 13th, 2012
Re: Debug requires Serial.begin()?
Reply #2 - Apr 7th, 2020 at 10:18pm
Print Post  
see attached
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Chris Molloy
Junior Member
**
Offline


Posts: 54
Location: Ontario, Canada
Joined: Dec 13th, 2012
Re: Debug requires Serial.begin()?
Reply #3 - Apr 7th, 2020 at 10:29pm
Print Post  
where do I find the temp cpp file?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debug requires Serial.begin()?
Reply #4 - Apr 8th, 2020 at 11:43am
Print Post  
here C:\Users\chris\AppData\Local\Temp\VMBuilds\SCRATC~1\ESP826~1\Release
  
Back to top
IP Logged
 
Chris Molloy
Junior Member
**
Offline


Posts: 54
Location: Ontario, Canada
Joined: Dec 13th, 2012
Re: Debug requires Serial.begin()?
Reply #5 - Apr 8th, 2020 at 4:56pm
Print Post  
here it is
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debug requires Serial.begin()?
Reply #6 - Apr 8th, 2020 at 9:18pm
Print Post  
Try updating Visual Micro to see if that makes a difference your release is from last year.
« Last Edit: Apr 8th, 2020 at 9:19pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Chris Molloy
Junior Member
**
Offline


Posts: 54
Location: Ontario, Canada
Joined: Dec 13th, 2012
Re: Debug requires Serial.begin()?
Reply #7 - Apr 8th, 2020 at 11:17pm
Print Post  
That appears to fix the problem.  Thanks.
is there a way to automate updates?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debug requires Serial.begin()?
Reply #8 - Apr 10th, 2020 at 12:08pm
Print Post  
All versions: There was release info that appeared in an output window after startup when the March version was released

Visual Studio should show a flag in the top of the IDE when an update is available.

Which ide are you using?
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint