|
|||||||||||
Technical Support Support Resources
Product Information |
µVISION DEBUGGER: Halting Execution in a Signal FunctionInformation in this article applies to:
QUESTIONI'm writing a lot of signal and user functions for the µVision Debugger. Is there a way for my functions to stop program execution in the Debugger? ANSWERYes. The System Variable _break_ allows you to do just that. When you set _break_ to a non-zero value, the µVision Debugger halts target program execution. For example: signal void sigfunc (void) { while (1) { twatch (10000); /* Delay for 10,000 ticks */ _break_ = 1; /* Halt program execution */ } } This function halts program execution every 10,000 cycles. Last Reviewed: Wednesday, January 27, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.