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 Does Not Output to Debug Window (Read 6662 times)
Ron Ebenstein
Newbies
*
Offline


Posts: 4
Joined: Oct 6th, 2012
Debugger Does Not Output to Debug Window
Jun 4th, 2013 at 6:28pm
Print Post  
Running Visual Studio 2012 Premium on Windows 8 X64.  The Debugger installed fine and the Arduino Blink sketch compiled and uploaded fine.  Serial.println works fine.  The problem is the debugger output is never displayed.  Setup simple (when hit) breakpoijts with either default output or text
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger Does Not Output to Debug Window
Reply #1 - Jun 4th, 2013 at 6:34pm
Print Post  
Hi Rob,

The debugger is a software debugger and works slightly differently to a normal debugger, certainly from a switch on and also from an expression watch point of view.

Please watch the youtube tutorial linked on the debugger page

You might want to skip the first couple of minutes, it's a bit slow at 25mins but covers some important points.

Please post again if you have any questions

Thanks
  
Back to top
IP Logged
 
Ron Ebenstein
Newbies
*
Offline


Posts: 4
Joined: Oct 6th, 2012
Re: Debugger Does Not Output to Debug Window
Reply #2 - Jun 4th, 2013 at 6:39pm
Print Post  
I have used the debugger in the past on VS2010 and am pretty familiar with it.  The problem is in this case (VS2012), I am not getting any out from the breakpoint.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger Does Not Output to Debug Window
Reply #3 - Jun 4th, 2013 at 6:42pm
Print Post  
Oh sorry I didn't realize that Smiley

Have you still got the serial.begin in your code? If so what speed?

Thanks

EDIT: Please also confirm if the serial monitor speed has been changed from 115k
« Last Edit: Jun 4th, 2013 at 6:46pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Ron Ebenstein
Newbies
*
Offline


Posts: 4
Joined: Oct 6th, 2012
Re: Debugger Does Not Output to Debug Window
Reply #4 - Jun 4th, 2013 at 6:56pm
Print Post  
115200
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger Does Not Output to Debug Window
Reply #5 - Jun 4th, 2013 at 7:01pm
Print Post  
Okay so you have definitely set (Micro Debug=Full) and can see both a release and a debug compile in the Micro Build output window?

You add a breakpoint and you see a Micro Trace output window but it is empty?

You have not switch on Startup Wait?

The Serial Monitor is also set to 115200?

The RemoteSpeed project property is empty or set to 115200?

The RemoteTransport project property is empty or set to HardwareSerial?

The LocalPort is empty project property?

The RemotePort is empty project property?

The breakpoints are not on the same lines as a serial.print?

Thanks
« Last Edit: Jun 4th, 2013 at 7:02pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Ron Ebenstein
Newbies
*
Offline


Posts: 4
Joined: Oct 6th, 2012
Re: Debugger Does Not Output to Debug Window
Reply #6 - Jun 4th, 2013 at 7:11pm
Print Post  
I ended up uninstalling, rebooting and re-installing.  it works fine now - Thanks...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugger Does Not Output to Debug Window
Reply #7 - Jun 4th, 2013 at 8:03pm
Print Post  
Good that would have been my next suggestion, I think VS had not shutdown properly do the install skipped some files.

I wish VS would lock all the vm dlls so the installer raises an error.

Thanks for the update!
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint