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) After debug, always restart (Read 5075 times)
dapang
Newbies
*
Offline


Posts: 4
Joined: Apr 29th, 2018
After debug, always restart
Apr 29th, 2018 at 6:42am
Print Post  
Hi,

I'm using micro with my adafruit flora. It's a atmega32u4 chip based  board.

The debugging feature works great but I can only debug one time. The next time I click the upload button and expect the debug monitor popping up --- fail! The visual studio just quits like a flash. I have to restart VS and debug again.

It's so annoying. The interesting thing is, if I switch to "release" mode, I can "releasely upload" the code any times. So that's why I think the problem is on the debugging mode.

Thanks! I'm using the latest version of Micro.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After debug, always restart
Reply #1 - Apr 30th, 2018 at 12:49pm
Print Post  
Thanks for the post. This hasn't been reported before but I will try to reproduce.

Which usb driver and date/time shows in device manager when the board is connected?
  
Back to top
WWW  
IP Logged
 
dapang
Newbies
*
Offline


Posts: 4
Joined: Apr 29th, 2018
Re: After debug, always restart
Reply #2 - Apr 30th, 2018 at 9:30pm
Print Post  
https://vimeo.com/267314154

Hi, thanks for replying. Here is my problem screen shot. You can have a look and maybe have better ideas.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After debug, always restart
Reply #3 - Apr 30th, 2018 at 9:52pm
Print Post  
do you get the same issue if you switch off "vMicro>Debugger>Monitor Analog Pins"?
  
Back to top
WWW  
IP Logged
 
dapang
Newbies
*
Offline


Posts: 4
Joined: Apr 29th, 2018
Re: After debug, always restart
Reply #4 - Apr 30th, 2018 at 10:06pm
Print Post  
Yes. Even if I switched it off.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After debug, always restart
Reply #5 - Apr 30th, 2018 at 10:16pm
Print Post  
Does it happen if the serial monitor and expressions tool windows are docked instead of floating?

or

If Auto-Recon is OFF?


« Last Edit: Apr 30th, 2018 at 10:17pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
dapang
Newbies
*
Offline


Posts: 4
Joined: Apr 29th, 2018
Re: After debug, always restart
Reply #6 - Apr 30th, 2018 at 10:36pm
Print Post  
Same. I use another board UNO. Same. 

I will try to reinstall VS to see what will happen..
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After debug, always restart
Reply #7 - Apr 30th, 2018 at 11:12pm
Print Post  
what is date/time and name of usb driver?

I doubt reinstall vs will help.

« Last Edit: Apr 30th, 2018 at 11:13pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
dapang
Newbies
*
Offline


Posts: 4
Joined: Apr 29th, 2018
Re: After debug, always restart
Reply #8 - May 1st, 2018 at 2:12am
Print Post  
Reinstall works! Now it works fine!

I didn't do anything special, just reinstall..
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After debug, always restart
Reply #9 - May 1st, 2018 at 12:38pm
Print Post  
Amazing, well done.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint