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 crashes after debugging (Read 2202 times)
Rodi
Newbies
*
Offline


Posts: 4
Joined: Mar 20th, 2021
Visual Studio crashes after debugging
Mar 20th, 2021 at 5:01pm
Print Post  
I have a problem with the debug mode. When I open a project I can add new breakpoints and change the actions and so on without any problems. Then i download the program. And then the problems occur. Now, every try to change an option of a breakpoint causes a crash of Visual Studio. 
I tried many ways to change something without a crash but I had no success. 
I didn't move the windows of VS while debugging, I know there is an issue about that. 
I also updated VS and VM to the latest version.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio crashes after debugging
Reply #1 - Mar 20th, 2021 at 5:18pm
Print Post  
Not normally no, please follow the guide in yellow above so that we can see which debug system you are using.
  
Back to top
WWW  
IP Logged
 
Rodi
Newbies
*
Offline


Posts: 4
Joined: Mar 20th, 2021
Re: Visual Studio crashes after debugging
Reply #2 - Mar 20th, 2021 at 5:45pm
Print Post  
oh, sorry. Here it is Wink
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio crashes after debugging
Reply #3 - Mar 20th, 2021 at 8:53pm
Print Post  
Thanks, Visual Micro is not involved when you change breakpoints (or at anytime in the code editor). That is all VS.

I suggest trying to repair via the Help>Update menu and also confirm that "Tools>get Tools and Features>desktop C++" is enabled. (It should be automatically but ms have some problem sometimes since recent vs updates)

If that does not resolve please post the list of extensions you have installed into vs, this is available via "Help>About" Diag wndow. Then zip your solution files and project folder files and email with link to this post or attach here.

Thanks



  
Back to top
WWW  
IP Logged
 
Rodi
Newbies
*
Offline


Posts: 4
Joined: Mar 20th, 2021
Re: Visual Studio crashes after debugging
Reply #4 - Mar 21st, 2021 at 10:27am
Print Post  
Repair via the Help>Update is not possible anymore. I had to open the Visual Studio Installer to start the repair. 
But this doesn't help. Desktop C++ i enabled and installed. 
The problem only occurs when the debugger has started. If I disconnect, before the debugger is completely running, I'm able to make changes.
The info and the files are attached
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio crashes after debugging
Reply #5 - Mar 21st, 2021 at 4:39pm
Print Post  
Thanks, there have been a few crashes that have crept into the last couple of VS2019 versions. Microsoft are reviewing. 

We will use your info to try to reproduce this one but we are not currently seeing same issue.

One point is that the serial debugger does need recompile and re-upload after making breakpoint changes so stopping debug has to a happen anyway. Not ideal but maybe worth a note.
  
Back to top
WWW  
IP Logged
 
Rodi
Newbies
*
Offline


Posts: 4
Joined: Mar 20th, 2021
Re: Visual Studio crashes after debugging
Reply #6 - Mar 21st, 2021 at 4:43pm
Print Post  
After hours of trying several options I think I found the answer.  Cheesy
I only installed the German language pack for Visual Studio. After installing the English language pack also, it works without any crash. Even when the language is German, there are no crashes anymore.
And when i uninstall the English language pack, the crashes are back. 
Perhaps, someone could proof this with another languages. 
« Last Edit: Mar 21st, 2021 at 4:47pm by Rodi »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio crashes after debugging
Reply #7 - Mar 21st, 2021 at 4:45pm
Print Post  
Oh thanks, we will review. Well done!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint