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
Hot Topic (More than 8 Replies) Super tool (Read 14696 times)
Kucky
Junior Member
**
Offline


Posts: 50
Location: Germany
Joined: Oct 12th, 2012
Super tool
Dec 25th, 2012 at 3:10pm
Print Post  
Thank you for this tool. I installed the debugger to a more ancient system successfully. Then I wanted to install the debugger in my current system, and got this message.

" This advertised application will not be installed because it might be unsafe. Contackt your administator to change the installation ucer interface option of the package to basic."

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Super tool
Reply #1 - Dec 25th, 2012 at 3:15pm
Print Post  
Hi,

Which version of windows are you using? It sounds like you need admin rights. Try downloading the install and then right clicking it and running as administrator
  
Back to top
IP Logged
 
Kucky
Junior Member
**
Offline


Posts: 50
Location: Germany
Joined: Oct 12th, 2012
Re: Super tool
Reply #2 - Dec 25th, 2012 at 6:46pm
Print Post  
Thanks for the quick reply.
Windows 7
Admin yes

I had to uninstall the debugger. What is odd is that the debugger was not not installed on the current system. Now everything is OK again. Smiley
Regads Willi
  
Back to top
 
IP Logged
 
Kucky
Junior Member
**
Offline


Posts: 50
Location: Germany
Joined: Oct 12th, 2012
Re: Super tool
Reply #3 - Dec 25th, 2012 at 7:01pm
Print Post  
Addendum.
The Micro-Debug "Full" entry was answered with an error message.
Willi
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Super tool
Reply #4 - Dec 25th, 2012 at 10:09pm
Print Post  
I don't understand...

Is everything working? 

or 

Are you unable to set (Micro Debug) to True
  
Back to top
IP Logged
 
Kucky
Junior Member
**
Offline


Posts: 50
Location: Germany
Joined: Oct 12th, 2012
Re: Super tool
Reply #5 - Dec 26th, 2012 at 11:51am
Print Post  
Sorry, my English isn´t so good.

Now it works.
I did that:
1. BackUp from my System
2. Install Visualmicro and the Debug plugin for testing
3. Testing Debug-plugin. All OK. Micro Debug is chosen  without any error message.
4. Recovery BackUp
5. Install Visualmicro?? Roll Eyes and the Debug plugin
Now come the error messages.
6. Uninstall Debug plugin and reinstall. All OK.

I'm not sure if I installed at Point 5 Visual Micro. But I think yes Wink.

Would not it be a good idea to add the version number to the file name?

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Super tool
Reply #6 - Dec 26th, 2012 at 3:32pm
Print Post  
Thanks for the clear information. 

FYI: The (Micro Debug) error message was not an error. The message appears if the debugger is not installed or has not been installed into the correct location (below the vm program folder).

Good to hear it is all working now.




  
Back to top
IP Logged
 
Kucky
Junior Member
**
Offline


Posts: 50
Location: Germany
Joined: Oct 12th, 2012
Re: Super tool
Reply #7 - Dec 26th, 2012 at 5:24pm
Print Post  
Now it works perfectly. Smiley Smiley
One question I have.
Is it true that the code "Serial.begin (9600);" needs to be disabled? Just like here //Serial.begin (9600);

This is a great tool and first class support.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Super tool
Reply #8 - Dec 26th, 2012 at 7:18pm
Print Post  
Great!

Quote:
Is it true that the code "Serial.begin (9600);" needs to be disabled? Just like here //Serial.begin (9600);


No you do not need to change/remove any code. The debugger can work at whatever speed you decide to use. It defaults to 115k but you can override using the "LocalSpeed" and "RemoteSpeed" property.

You will see that if you change the "LocalSpeed" from empty (default) to 9600, the plugin will automatically set "9600" as the "RemoteSpeed".
  
Back to top
IP Logged
 
Kucky
Junior Member
**
Offline


Posts: 50
Location: Germany
Joined: Oct 12th, 2012
Re: Super tool
Reply #9 - Dec 27th, 2012 at 11:22am
Print Post  
Thanks again, now everything works Fine. Cheesy
From time to time Visual Studio to crash and reboot. I guess that happens when a COM port can not be opened. Roll Eyes
Can it be?

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Super tool
Reply #10 - Dec 27th, 2012 at 1:30pm
Print Post  
I do not get any crashes even if port is unavailable. I haven't tried at 9600  but will when I get time.

Did you say you are using VS 2012?
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Super tool
Reply #11 - Dec 27th, 2012 at 9:20pm
Print Post  
I forgot that there are a few things for me look into that might appear as crashes. You are right it's something to do with usb but only when the debugger is starting.

Does this sound right to you?
  
Back to top
IP Logged
 
Kucky
Junior Member
**
Offline


Posts: 50
Location: Germany
Joined: Oct 12th, 2012
Re: Super tool
Reply #12 - Dec 28th, 2012 at 11:49am
Print Post  
I using VS2012.
Yes if the Debugger is running VS sometimes crashes.

LG Willi
  
Back to top
 
IP Logged
 
Kucky
Junior Member
**
Offline


Posts: 50
Location: Germany
Joined: Oct 12th, 2012
Re: Super tool
Reply #13 - Dec 29th, 2012 at 2:02pm
Print Post  
Now I can reproduce the crash.
If the debugger is running, and I change the code or debug conditions (without uploading), crashes VS and restart.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Super tool
Reply #14 - Dec 29th, 2012 at 2:54pm
Print Post  
Excellent thanks. I'll give it a bash
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Super tool
Reply #15 - Dec 29th, 2012 at 3:42pm
Print Post  
I need some more info to replicate this crash.   

I have tried altering code with "break/pause" both Off and On.

I have altered code in the source that has the breakpoint and also added a new arduino ino to the project and edit code in the new file. None of those tasks crashed while a debug session was active.

I also saved, closed and re-opened the serial window after making changes without upload. The debug session always re-started correctly in my test.

I repeated the tests with a few different combinations of settings.

Can you please tell me anything else? 

Do you have any other debug windows open other than "serial window" and "expression watch"? Such as analog graph or digital pins?

Are all the tool windows (such as serial and expressions) docked? 

Please email a screen grab of your vs running in debug mode to info [at] visualmicro.com

Is it a crash or a freeze/hang?

Thanks very much for your help
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint