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 Turn on debug while program is running (Read 2724 times)
bradw
Newbies
*
Offline


Posts: 5
Joined: Jul 17th, 2014
Turn on debug while program is running
Jul 23rd, 2014 at 3:55am
Print Post  
Hi, 

I am using an Arduino Uno. Each time I start the debugger (serial monitor window) it restarts the Arduino program. If I have a running program, I thought I could plug in the serial port to view the debug information of the currently running program. However, as soon as I click on the button to show the serial monitor window, the Arduino resets. Is there a way to prevent the reset when the serial connection occurs?

The same reset occurs when I connect to the serial port using Terra Term, so this likely is due to the Arduino board and not this debugger. Appreciate any advice to work around this. 

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Turn on debug while program is running
Reply #1 - Jul 23rd, 2014 at 1:25pm
Print Post  
Hi Brad,

You should be able to un-tick the DTR checkbox in the serial monitor. 

The DTR is responsible for the re-boot when using the main Serial port.

Thanks

  
Back to top
IP Logged
 
bradw
Newbies
*
Offline


Posts: 5
Joined: Jul 17th, 2014
Re: Turn on debug while program is running
Reply #2 - Jul 24th, 2014 at 4:20am
Print Post  
Tim, 

That worked. Thank you.

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