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 Visual Studio Crash when debuging (Read 962 times)
Carlos Izquierdo
Newbies
*
Offline


Posts: 1
Joined: Nov 15th, 2018
Visual Studio Crash when debuging
Nov 15th, 2018 at 11:59am
Print Post  
I'm experiencing crashes in Visual Studio when I start in debug mode. Not always happens, but sometimes the crash is spectacular.
Last one not only stopped Visual Studio, also deleted all info about the actual solution. Fortunately the .ino wasn't deleted so I can re-create the proyect but this get me goosebumps!

I don't know what exactly fires this, I was playing with a RTC, showing date&time on the serial console, the crash happens in one of attempts. This is the worst I've experienced, but there're a few more.

I have attached the code. I was working with Visual Studio Community 2017 and an Arduino Uno compatible. Both Visual Studio and Visual Micro are acualized to the latest version respectively 15.8.9 and 1810.4.0 .

The debugger just uses standard arduino serial which is very well trued and tested so it can't really be related to code. It has to be a windows/vs/usb issue.
« Last Edit: Nov 15th, 2018 at 1:14pm by Tim@Visual Micro »  

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio Crash when debuging
Reply #1 - Nov 15th, 2018 at 1:14pm
Print Post  
Some info

The crash might be a conflict between windows and usb driver. What is your usb driver details and what board do you have?

I have assumed that you created a new project, had not saved the solution, attempted to debug then vs crashed. Visual Studio normally saves your solution and asks to restore it after a crash. After creating a new project make sure the solution is saved in the correct location by clicking the solution name and the clicking "Save As" or "Save". 

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