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 Breakpoints in interrupts (Read 2207 times)
Link
Junior Member
**
Offline


Posts: 21
Location: Saint Paul, MN, USA
Joined: Dec 26th, 2015
Breakpoints in interrupts
Feb 8th, 2016 at 3:46am
Print Post  
I am finding that breakpoints in interrupts will cause the application to hang.

I am using VS2015 and VM I downloaded a few weeks ago.  I am running at 115200.

Is this a known issue?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Breakpoints in interrupts
Reply #1 - Feb 8th, 2016 at 3:53pm
Print Post  
Hi,

This is covered in the docs but it's not a major topic so probably not so clear.

You can use the debugger in any code that can use commands such as Serial.println()

You probably need to switch off the ThottleEnabled project property and ensure that you do not use the breakpoint hit counter. This should ensure that the debugger never uses the delay() command which is probably the problem.

Hope this helps.

tip: Setting the breakpoint "continue execution" will give trace instead of break, which will have less effect on timings
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint