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
Locked Topic 1/2 Debug not working - $paid version :( (Read 9840 times)
mfreeman
Newbies
*
Offline


Posts: 7
Joined: Oct 19th, 2014
1/2 Debug not working - $paid version :(
Oct 19th, 2014 at 3:40am
 
Hi,

I purchased the single licence. Installed and entered the code/key.

However:
I don't get 1/2 the features of the debugger such as:
1. the Debug button on the serial Window
2. The Watch and Expressions windows
3. Serial COM window Debug button is DISABLED

The rest works, compile, upload, Serial.print() shows in Serial window.

Tried both ver 1.0 and 1.5.x Arduino IDE

What am I doing wrong??? Cry

Visual Studio 2013 SP3

Thanks !!
« Last Edit: Oct 19th, 2014 at 4:18am by mfreeman »  

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1/2 Debug not working - $paid version :(
Reply #1 - Oct 19th, 2014 at 9:51am
 
Hi,

Switching on/off debug has been made easier for most users in recent versions which makes the video slightly confusing. The documentation on Visuamicro.com is up to date so I have added a note to the comment below the video about this. Thanks for pointing it out.

I suggest you un-tick "tools>visual micro>automatic debugging" which will allow you to follow what happens in the video and the debugger will work.

Alternatively, did you see this article? With automatic debug enabled you can simply use the tool bar to switch between "Release" and "Debug" to control debugging.

http://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging.html

When you have uploaded with debugging then the buttons and options you mention will automatically become active. 

With the debugger you can update the value of variables without recompile, trace, break etc. It avoids the need to hack the code with serial statements and also reduces the memory used because "large string" debug messages are not compiled onto the Arduino processor. 

The paid version of Visual Micro also works faster and will shortly be upgraded for free with lots of new features. Your refund request has been made, I hope you enjoy the free software and free support  Cheesy

Thanks
« Last Edit: Oct 19th, 2014 at 11:29am by Tim@Visual Micro »  
Back to top
IP Logged
 
mfreeman
Newbies
*
Offline


Posts: 7
Joined: Oct 19th, 2014
Re: 1/2 Debug not working - $paid version :(
Reply #2 - Oct 19th, 2014 at 11:45am
 
Hi,

I got it working. 

"Alternatively, did you see this article? With automatic debug enabled you can simply use the tool bar to switch between "Release" and "Debug" to control debugging.

This does not work by default. All settings are 'wrong' in a new project. I had to manually enable a few including Micro Debug. 

Somehow that unblocked something and now working. 

Thanks for reply. No need for refund if product works Smiley

Also may I recommend you scan your website and add links to the 'manual' such as how to get the visualizations working ? That took me a while to figure out since I could only see the Gauge.. Weird. I had to google to find stuff on your site Smiley

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1/2 Debug not working - $paid version :(
Reply #3 - Oct 19th, 2014 at 11:50am
 
Hi,

Thanks for the update and feed back.

I already processed the refund and cancelled the license. You are free to use it for as long as it works but in the future you might need to purchase it again if you have activation issues.

With the "automatic debug" option enabled the project property (EnableDebug) is not used and will not be set. The automatic debug is a global override unrelated to any specific project.

I know you have it working but to help me with future questions please answer this: What is the configuration name on your toolbar set to. Is is "Release", "Debug" or somethign else?


Yes the visualization side of the debugger needs better documentation. I am finding it quite difficult to keep the links on the site obvious enough for new users to work out how to compile and upload without confusing the issue with links for more advanced users. The site needs a lot more thought!

Thanks again
  
Back to top
IP Logged
 
mfreeman
Newbies
*
Offline


Posts: 7
Joined: Oct 19th, 2014
Re: 1/2 Debug not working - $paid version :(
Reply #4 - Oct 19th, 2014 at 6:48pm
 
Hi,

I had Debug not Release. I will run more tests to see if it does indeed switch the features on/off. I rememeber having switched in between Debug/Release, and it did not help. 

I have a feeling it was a glitch on the 1st project and something changed after I manually changed the value in properties.

I will try again by re-importing the Arduino project into VS2010 ans see if this time it works as designed.

What got me off track is the double mention of the Visualisation on the Bug drop down menu. I only saw the last one. Again I'll try again.

Minor note: The Beta 1.5 Arduino IDE is way slower than the 1.0

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1/2 Debug not working - $paid version :(
Reply #5 - Oct 19th, 2014 at 6:50pm
 
Thanks for the info.

Do you mean the compile is slower?

When you switched between debug and release did you run the normal "compile and upload" or "upload last sketch build"

thanks
« Last Edit: Oct 19th, 2014 at 6:55pm by Tim@Visual Micro »  
Back to top
IP Logged
 
mfreeman
Newbies
*
Offline


Posts: 7
Joined: Oct 19th, 2014
Re: 1/2 Debug not working - $paid version :(
Reply #6 - Oct 19th, 2014 at 6:53pm
 
Yes, the compile is slower, but a noticeable amount. The 1.0 is instant.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1/2 Debug not working - $paid version :(
Reply #7 - Oct 19th, 2014 at 6:58pm
 
They are the same speed for me. 

Please use 1.5, make one compile then switch on "tools>visual micro>verbose" then run a 2nd compile and email the output to info [at] visualmicro.com

Thanks
  
Back to top
IP Logged
 
mfreeman
Newbies
*
Offline


Posts: 7
Joined: Oct 19th, 2014
Re: 1/2 Debug not working - $paid version :(
Reply #8 - Oct 19th, 2014 at 7:09pm
 
Ok, I will.

I just did a bunch of tests, and VS behaving as expected. So SOMETHING got unblocked by me having changed a project setting.

I now started from scratch, importing a project and everything works, not like before, when it did not.

Hmmmm... hard to pin point what may have caused this.

I'll try the verbose. Maybe the super fast compile was in lack of the debugger working.

I'm not going back to v1 Wink
  
Back to top
 
IP Logged
 
mfreeman
Newbies
*
Offline


Posts: 7
Joined: Oct 19th, 2014
Re: 1/2 Debug not working - $paid version :(
Reply #9 - Oct 19th, 2014 at 7:19pm
 
Opening different new or previous projects screwed up the original one, no more debug...?

But the compile was ultra fast !

Reboot.
« Last Edit: Oct 19th, 2014 at 7:20pm by mfreeman »  
Back to top
 
IP Logged
 
mfreeman
Newbies
*
Offline


Posts: 7
Joined: Oct 19th, 2014
Re: 1/2 Debug not working - $paid version :(
Reply #10 - Oct 19th, 2014 at 7:28pm
 
After reboot everything ok.

Compile ok. 

Thanks (seems something gets mixed-up) when opening/closing projects.... Not sure.

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1/2 Debug not working - $paid version :(
Reply #11 - Oct 19th, 2014 at 7:47pm
 
Ok thanks, first compile for each board after switching ide versions will always be much slower.

I'll do a bit of testing opening and closing. Re-starting atmel studio should be all that is required but I am not sure it will happen very often unless projects have the same name.

Let's see how it goes, interested to hear anything you find.
« Last Edit: Oct 19th, 2014 at 7:50pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 1/2 Debug not working - $paid version :(
Reply #12 - Oct 25th, 2014 at 1:39pm
 
Off-Topic replies have been moved to this Topic.

that is an automated message:- not off-topic but different Smiley
    admin
« Last Edit: Oct 25th, 2014 at 1:41pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint