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 Debugger install VS 2008? (Read 6519 times)
Dennis
Junior Member
**
Offline


Posts: 12
Joined: Jan 7th, 2013
Debugger install VS 2008?
Jan 12th, 2013 at 12:55am
Print Post  
I have visual micro (1212.20) for Ardunio up and running in VS 2008. 
I installed Debugger 3.3 and the install completed however I find no evidence the debugger has been installed. Specifically I find no entry to set the dubugger to "Full" 
Your instructions:
Open a simple sketch and click the project name node in the solution tree. Switch "(Micro Debug)" to "Full" in the project property viewer.  There is no line with "Micro Debug" that I can find.
Is the debugger compatible with VS2008?
Am I missing something?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger install VS 2008?
Reply #1 - Jan 12th, 2013 at 1:09am
Print Post  
Hi,

Vs can be confusing it has a property window and property pages and a few other "property" views.

If you left click the project node then press F4 do you see a property tool window?

If not please email an image of your vs with the property window open to info [at] visualmicro.com

Thanks
  
Back to top
IP Logged
 
Dennis
Junior Member
**
Offline


Posts: 12
Joined: Jan 7th, 2013
Re: Debugger install VS 2008?
Reply #2 - Jan 12th, 2013 at 1:41am
Print Post  
Thanks for reply.   I will not have time this PM to do a screen shot but here is some info.  After review of this please let me know what else you need and I will try to provide tomorrow.
OS = Windows 7 professional,  All updates current
Have Installed  Visual Studio 2008 and Visual Web Developer 2010 Express version.
My Experience with Visual studio and C is very long time ago and with VS 6 (old old old).  I mostly do .net web development so I assume I am just missing something simple but... perhaps not.

...

When I "Left" click  (highlight) my project  then F4 does nothing.
Right clicking  shows one option is "properties". 
Clicking properties opens a window "MyProject Property Pages" with Common Properties and COnfiguration Properties as the main tree.
(I get to the same place with menu option Project => MyProject Properties)  (Alt F7)
Under Configurations Properties the sub choices are:
  Generel
  Debugging
  Linker  ... etc
Under Debugging the options are
    Command
    Command Arguments
    Working Directory
    Debugger Type  (set to Auto)
     other otpions are script, Mixed, Managed Only, Native Only 
    Environment
    Merge Environment
    SQL Debugging
(This is where I was expecting to see the Micro Debug option but nothing like that shows)
Upper right corner of the window shows Configuration Manager button
If I click Configuration Manager I get a new window named Configruation Manager.
That window shows Active solution configuration = Debug
           Active solution platform  = WIn32
And one line below that shows
Project = MyProject  (name of the Ardunio project)
Configuration = Debug
Platform = Win32
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger install VS 2008?
Reply #3 - Jan 12th, 2013 at 12:12pm
Print Post  
The property pages is the wrong window

Try clicking the project then using the top VIEW menu
 
View>Property Window
Or
View>Other Windows>Property Window

Please confirm that compile & upload works correctly before using the debugger
  
Back to top
IP Logged
 
Dennis
Junior Member
**
Offline


Posts: 12
Joined: Jan 7th, 2013
Re: Debugger install VS 2008?
Reply #4 - Jan 12th, 2013 at 1:51pm
Print Post  
  GrinI Found the Project Properties window View=>OtherWindows=>Properties Window. Smiley  and set (Micro Debug) to "Full".   
Thanks. Sorry, I should not be bothering you for a VS lesson. 
Now when I press F5 I get the debug window  "MyProject|Expressions on COM3" window showing "Waiting for debug breakpoint data" and a "Serial COM3" window showing "Port Open" and in the Output window I see Micro Debug Trace with the one break I entered...

There are lots of other things in the Project Properties Window (Remote Port, Pins, Remote Pin RX, Speed, Etc.) that are not set.

I will go thru the Video Tutorial again and browse for more training on how to use Debbugger. 

Is there a "manual" yet?

Can I help with documenting the set-up etc as I learn so the next poor fellow as dumb as me can get started?

Dennis
  


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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger install VS 2008?
Reply #5 - Jan 12th, 2013 at 2:42pm
Print Post  
Thanks for the offer, there will be a manual as soon as time allows and any notes you make I will happily add to the vm site.

There is a help snippet at the bottom of the properties window that gives some info. You don't really need to set any other properties at this time.

Your breakpoint should already be showing in the Micro Trace output window and if you add a "When Hit" message to the breakpoint then your message will show in the Micro Message output window.

If you add some expressions or variables to the "When Hit" message  then the "Waiting for debug data" will start to show some expression values

"When Hit" Message Example

This is my first breakpoint. Millis={millis()}
  
Back to top
IP Logged
 
Dennis
Junior Member
**
Offline


Posts: 12
Joined: Jan 7th, 2013
Re: Debugger install VS 2008?
Reply #6 - Jan 12th, 2013 at 3:08pm
Print Post  
Watched the tutorials and re-read the getting started and I am up and running. This is going to really help with my current project.  Great addition to Visual Micro! Thanks for the help.

Dennis
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint