AnsweredAssumed Answered

Is it possible to run a script on hitting a breakpoint?

Question asked by twp on Apr 29, 2014
Latest reply on May 4, 2014 by Erich Styger

We are debugging a system that drives DC motors with a feedback system.  If we put a break point in a task other than the motor driving task it is possible that one of the motor drive outputs was on at the time and the motor will continue to spin while debugging.  This causes a fault in our system that prevents further operation.


Is it possible to run a script from CodeWarrior on hitting a breakpoint that could write to the pin state registers and stop the motor?


Many thanks,