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) Unable to setup debug listener (Read 9905 times)
Felice
Newbies
*
Offline


Posts: 7
Location: Florence (Italy)
Joined: Mar 22nd, 2013
Unable to setup debug listener
Apr 11th, 2013 at 6:01pm
Print Post  
Hi,
I was using the debugger on VS 2010 and it was working well.
In order to solve the problem with the intellisense not working on such version of VS I have installed Visual Studio 2012 and the intellisense is now working.
The debugger is not working on VS 2012 and not anymore on VS 2010, I get the error "Unable to setup the debug listener".
I tried to install a fresh .net 3.5 but it does give problems  "Installation error"!
So now I am stuck. The debugger does not work anymore on any of the VS versions. Do I really need the .net 3.5 to use the debugger? Is there a different solution?
I would appreciate your support.

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to setup debug listener
Reply #1 - Apr 11th, 2013 at 7:56pm
Print Post  
Hi there,

It would have been easier to look at why the intellisense was not working in VS and would be an easy fix Smiley

Installing VS 2012 does sometimes know out some registry settings. However both 2010 and 2012 will work together so please follow this guide.

Uninstall both the visual micro addin and debugger from control panel add/remove program features.

Re-install both using codeplex and the beta page.

When VS starts confirm that you see a list of boards in the drop down boards list. If the boards list is disabled click "Tools>Addin Manager" and switch on the checkbox for the Visual Micro Addin.

Test that vs intellisense is working correctly and that you can compile and upload.

Then try the debugger.
  
Back to top
IP Logged
 
Felice
Newbies
*
Offline


Posts: 7
Location: Florence (Italy)
Joined: Mar 22nd, 2013
Re: Unable to setup debug listener
Reply #2 - Apr 12th, 2013 at 6:48am
Print Post  
Hi there,
thanks for your reply.
I followed the procedure on VS 2010 after I have unistalled VS 2012, unistalling both visualmicro ad the debugger. I restarted the pc and reisntalled the visual micro. I tested it and it is compiling and uploading to the board.
I then re-installed the debugger and tested with a break point on a variable.
The problem is still the same. 
Kind regards
Felice

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to setup debug listener
Reply #3 - Apr 12th, 2013 at 3:56pm
Print Post  
Hi,

Thanks fir the screen shot. 

The problem is that the arduino project is not the "Startup project". You can see that the windows C# project name is in bold which means that it is the "debug>start project". Right click the arduino project and set it as the "Startup Project" and it should work.

fyi

I will remove the message you are seeing in the next release. The message actually means that debug is not active even though the arduino project is set to compile in debug mode.

  
Back to top
IP Logged
 
Felice
Newbies
*
Offline


Posts: 7
Location: Florence (Italy)
Joined: Mar 22nd, 2013
Re: Unable to setup debug listener
Reply #4 - Apr 12th, 2013 at 7:20pm
Print Post  
My friend,
you are magic!  Smiley
It is now working.
I just need to sort out the intellisense on VB2010 because I am not willing to change to VB 2012 that caused me all these problems.
But I will open a new thread for that.
Thanks a lot, your tool is really nice.

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to setup debug listener
Reply #5 - Apr 12th, 2013 at 8:06pm
Print Post  
Great. Thanks
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to setup debug listener
Reply #6 - Apr 12th, 2013 at 8:16pm
Print Post  
ps: 

I agree we should get the intellisense working for you in 2010. It might just be a matter of switching to a different arduino board and back again. 

However the 2012 intellisense works better in as much as it shows first level intellisense automatically as soon as you start typing. 

In VS 2010 you have to press CTRL+J to see intellisense unless you have typed a "." or "->" etc.
  
Back to top
IP Logged
 
Felice
Newbies
*
Offline


Posts: 7
Location: Florence (Italy)
Joined: Mar 22nd, 2013
Re: Unable to setup debug listener
Reply #7 - Apr 14th, 2013 at 2:35pm
Print Post  
Thanks.
Is in your plans to make it better for VS2010?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to setup debug listener
Reply #8 - Apr 14th, 2013 at 3:36pm
Print Post  
Hi,

If you mean more automatic instead of pressing CTRL+J, I would like to but the Visual Micro plugin doesn't have any control over this. 

In the background, the plugin simply re-configures the project paths where VS looks for code (and other project level C++ settings), then leaves the rest to the standard VS C++ intellisense system.

I find 2012 works the best but I was concerned that you reported intellisense to not work in 2010. It sounds like it is working but that it is slightly different 2010/2012?
« Last Edit: Sep 6th, 2013 at 3:47am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint