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 Problem with debugging in visual studio 2015 (Read 2291 times)
AntonDu
Newbies
*
Offline


Posts: 1
Joined: Jan 31st, 2016
Problem with debugging in visual studio 2015
Jan 31st, 2016 at 5:34pm
Print Post  
Hello everyone!
I am writing project in visual studio 2015 and visual micro. One part of the project on the WPF, and one for Arduino. When I start debugging Arduino project and starting WPF program which is to transmit data to Arduino she said that the com port is closed. What to do? 
P.S. Sorry for bad English? Smiley
P.S.S. If you do not understand what the question will try to explain
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with debugging in visual studio 2015
Reply #1 - Jan 31st, 2016 at 7:24pm
Print Post  
Hello,

The default debugger configuration uses the Serial port. 

Only one windows program can use a serial port at one time so it is a problem.

You can configure the visual micro debugger to use a different Serial port or you can configure it to use SoftwareSerial. 

Do you have spare Serial ports on your hardware? If Yes then you can use a different port, if No then you can use two digital pins.   

Do you have an FTDI adapter or cable?

This document explains how to use different Serial port or Pins.

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





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