Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Atmel Studio 7 - strange breakpoints behavior (Read 2118 times)
Dave_K
Junior Member
**
Offline



Posts: 11
Atmel Studio 7 - strange breakpoints behavior
Dec 20th, 2017 at 4:30pm
 
I found few strange breakpoints behavior on my test installation of Visual Micro on Atmel Studio 7

1. When I set breakpoint action with text message (variable in curly braces), the debug output window shows message and var., everything looks OK, but expression window shows only variable name and his data, there is no message, im trying with quotation marks, equal mark etc. It always shows only variable name

2. When I use breakpoint with conditional execution, and then disable condition by checkbox, rebuild and upload again   condition still works. The only way to disable condition, remove breakpoint and set up it from beginning, it doesn't looks like normal operation.

3. Does it Visual Micro compatible with ankhSVN? Everytime when I add breakpoints, commit changes, close solution and then I open it, breakpoints are gone. Where are they stored, in which file, somwhere outside the solution folder?

And the end question, it is possible to disable breakpoint location information in column "Data" at expression window?



Atmel Studio 7 (Version: 7.0.1645 - )
© 2015 Atmel Corp.
All rights reserved.


OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1
Platform: Win32NT


Installed Packages: Shell VSIX manifest - 7.0
Shell VSIX manifest
Version: 7.0
Package GUID: e874ffe4-fbe3-4624-9a17-61014ede02d0
Company: Atmel Corporation


Installed Packages: Atmel Start - 1.0.116.0
Atmel Start
Version: 1.0.116.0
Package GUID: F8853255-9C7B-4DC2-8E0F-64D9324AEB0E
Company: Atmel


Installed Packages: LiveWatch - 2.0.65
LiveWatch
Version: 2.0.65
Package GUID: 7DF6DCFD-2BCA-41C7-9C0E-1B7F606B008E
Company: Atmel


Installed Packages: GdbConsole - 7.0.188
GdbConsole
Version: 7.0.188
Package GUID: 49258291-0FED-4501-881B-6BAA91BEBCA8
Company: Atmel


Installed Packages: Atmel Kits - 7.0.105
Atmel Kits
Version: 7.0.105
Package GUID: 6F4B8FE4-C464-4916-8B43-AC92431C1CDF
Company: Atmel


Installed Packages: AtmelToolchainProvider - 7.0.895
AtmelToolchainProvider
Version: 7.0.895
Package GUID: AtmelToolchainProvider.Atmel.10EF9C74-D8DA-4872-85F5-D8BB3101E245
Company: Atmel


Installed Packages: Data Visualizer Extension - 2.15.713
Data Visualizer Extension
Version: 2.15.713
Package GUID: 25dc067d-df31-4e22-be7f-cc6a77ccc7f3
Company: Atmel


Installed Packages: Atmel Gallery - 7.8
Atmel Gallery
Version: 7.8
Package GUID: AtmelStudio7ExtensionManager
Company: Atmel


Installed Packages: Visual Assist for Atmel Studio - 10.9.2093.2
Visual Assist for Atmel Studio
Version: 10.9.2093.2
Package GUID: 7997A33C-B154-4b75-B2AC658CD58C9510
Company: Whole Tomato Software


Installed Packages: Arduino IDE for Atmel Studio 7 - 1709.3.1
Arduino IDE for Atmel Studio 7
Version: 1709.3.1
Package GUID: 324cac6d-ff67-4e2e-8fc9-7a587b2d6045
Company: Arduino Team @ Visual Micro
Back to top
« Last Edit: Dec 20th, 2017 at 4:35pm by Dave_K »  

debug_001_001.jpg (274 KB | )
debug_001_001.jpg
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10463
United Kingdom
Re: Atmel Studio 7 - strange breakpoints behavior
Reply #1 - Jan 28th, 2018 at 5:17am
 
Sorry for the delay.

It is an option for disabled breakpoints to be included in the code or not. It sounds like the option should default to ON Smiley

Back to top
 
WWW  
IP Logged
 
Dave_K
Junior Member
**
Offline



Posts: 11
Re: Atmel Studio 7 - strange breakpoints behavior
Reply #2 - Feb 5th, 2018 at 6:33pm
 
Im using macro definition #define DEBUG_ON 0 for my own purposes, maybe this is a problem?
What about expressions window, why I don't see any messages there?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10463
United Kingdom
Re: Atmel Studio 7 - strange breakpoints behavior
Reply #3 - Feb 10th, 2018 at 1:49am
 
Oh sorry I re looked at your picture.

I thought you were talking about disabled breakpoints not disabled conditions.

For disabled conditions the issue is that the Visual Studio API has a bug. If you do not clear the condition text then it tells extensions like visual micro that the condition is enabled.

I reported it to Microsoft and they accepted it is a problem but said they won't fix it.
Back to top
 
WWW  
IP Logged
 
Dave_K
Junior Member
**
Offline



Posts: 11
Re: Atmel Studio 7 - strange breakpoints behavior
Reply #4 - Feb 10th, 2018 at 7:44pm
 
issue with disabled condition it's not a big problem, but why I don't see any messages in expression window?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10463
United Kingdom
Re: Atmel Studio 7 - strange breakpoints behavior
Reply #5 - Feb 11th, 2018 at 12:51am
 
the watch window is not for messages

if you are asking how to see combined message and data without the trace info then please look at the bug icon on the serial monitor. It has a context menu that allows you to configure where  messages appear. In their own windows and/or combined with trace and/or in the serial monitor.

Does this help.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print