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 Attach Interrupt Handling Disables Debugging Output (Read 3132 times)
Woodcam
Junior Member
**
Offline


Posts: 15
Joined: Jan 21st, 2013
Attach Interrupt Handling Disables Debugging Output
Aug 5th, 2014 at 10:33pm
Print Post  
Attaching interrupts 0 or 1 disables debug reporting.

The debugger stops at the set break point but no data is sent to output or expression windows. Step over / into does not work either.

Is there a solution - work around???????
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Attach Interrupt Handling Disables Debugging Output
Reply #1 - Aug 5th, 2014 at 11:21pm
Print Post  
Hi,

The debugger uses the main Arduino Serial port by default. Same as if you used Serial.print() or Serial.read() in your code. The interrupts you are working with will affect the Serial.

You can switch the debugger to use a different serial port or use spare digital pins, an ftdi type connection and the "SoftwareSerial" transport option.

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