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 Weird behaviour in Debugger menu (Read 2337 times)
rml
Junior Member
**
Offline


Posts: 38
Joined: Aug 29th, 2016
Weird behaviour in Debugger menu
Feb 20th, 2017 at 12:10pm
Print Post  
Hello,

We are witnessing a weird behaviour in the vMicro/Debugger menu. It's not easy to pin down and seems to vary from one PC to another, but here are some examples. Both machines have identical installs of both Visual Studio, Arduino IDE and Visual Micro

Machine #1
* the "Microsoft GDB Debugger" line shows up for all platforms, even those where it is not unexpected, such as the Arduino Uno
* No check appears in front of the "Microsoft GDB Debugger" line when it is selected, even though the change is reported in the "Micro Build" output.
* When the "Microsoft GDB Debugger" is selected, the lines that are specific to the Visual Micro debugger are not greyed out

Machine #2:
* "Microsoft GDB Debugger" is not always shown, even for platform where it should be
* The check in front of the "Microsoft GDB Debugger" does appear when activated
* In that case, the lines that are specific to the Visual Micro debugger are greyed out as expected

As a result, a board (nRF52 DK) can be debugged on Machine #1, but not Machine #2.
Do you know what could be at play here?

Happy to provide some logs to help with the investigation.
Thanks,

Armel
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Weird behaviour in Debugger menu
Reply #1 - Feb 20th, 2017 at 10:08pm
Print Post  
This suggests that an exception is being hit causing the menu item controller to fail.

Is the machine with the problems able to compile and upload okay?

Does the problem happen if you create a new project?

Does the test solution contain only one project? If not is the expected project the "Startup project"

What version of visual micro is displayed in the "installed" tab of "tools>extensions and updates"

What is the visual studio version?

Do both projects have exact same code?
  
Back to top
WWW  
IP Logged
 
rml
Junior Member
**
Offline


Posts: 38
Joined: Aug 29th, 2016
Re: Weird behaviour in Debugger menu
Reply #2 - Feb 21st, 2017 at 9:53am
Print Post  
* both machines compile and upload OK
* the problem happens when a new project is created
* the test solution contains a single project (Blink)
* Visual Micro version: 1702.18.0 on both
* Visual Studio: 14.0.25431.01 on both
* identical code on both machines (Blink)

The board we are using is nRF52 DK from https://github.com/sandeepmistry/arduino-nRF5

Even on the machine where the "Microsoft GDB Debugger" line appears, there is still a problem with the check not being displayed when it is selected and the rest of the menu not being greyed out
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint