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 Breakpoints not working (Read 2733 times)
Anton.F.C.
Newbies
*
Offline


Posts: 1
Joined: Jun 1st, 2016
Breakpoints not working
Jun 1st, 2016 at 10:30am
Print Post  
Hello,
I recently switched from Arduino IDE to Visual Studio 2015 on a windows 10 laptop.
Building and compiling works fine. Breakpoints are visible in the breakpoints window. After several hours reading in the manual still no break-point reactions. Typical beginners problems I suppose.
Questions:
1 Whats the difference between a dot and square mark in the margin?
2 The option button in the serial-monitor is dimmed and not working.How can I activate this button?
3 How can I get line-numbers in the editor window?
Anton
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints not working
Reply #1 - Jun 3rd, 2016 at 6:51pm
Print Post  
Hi,

Sorry for the delay. 

Please show  screen shot of your ide with the vMicro menu dropped down.

Answers:-

Quote:
1 Whats the difference between a dot and square mark in the margin?

The red dot changes depending on if there is a condition attached to the breakpoint (ie: only break if i>5) or if a "when hit" print message has been added to the break point. There is also a breakpoint list that can be viewed by clicking "debug>other windows>breakpoints" which gives a clear summary of the breakpoints.

You can read more about Visual Studio 2015 + breakpoints on the Microsoft web site



Quote:
2 The option button in the serial-monitor is dimmed and not working.How can I activate this button?


It activates if debug is enabled. For example with automatic debug enabled you just need to switch the tool bar from "Release" to "Debug" then upload to start debug. 

When debug is active the option button will be active, you will also see the debug trace appear which will show when debug is attempting to start and when it has started. A "watch expressions" window will also appear.

Quote:
3 How can I get line-numbers in the editor window?


On the menu bar, choose Tools, Options. Expand the Text Editor node, and then select either the node for the language you are using, or All Languages to turn on line numbers in all languages. Or you can type line number in the Quick Launch box



Read more on msdn
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint