AnsweredAssumed Answered

CodeWarrior v5.9 - set event point to not halt execution

Question asked by Michael DeClerck on Aug 5, 2013
Latest reply on Aug 5, 2013 by Fiona Kuang



I am trying to monitor a variable without halting execution on the target, and can't seem to make this work.


I tried setting a logging event point. According to the manual, the boxes I checked should evaluate the expression (the variable I am trying to monitor), send the log to the "Message window", and continue execution.  The debugger keeps halting execution on the log point and I see no Message window or any message.   I have the "Stop in Debugger" option unchecked.


I thought this might have something to do with the default template I am using, so I tried creating a new break point template, but this did not seem to help.  Does the "Auto Breakpoint" type mean that the debugger is always going to halt execution?   I don't want the program to "break".  I want to monitor the value and continue normal execution.


Watch points seem to function exactly like breakpoints too, they just highlight the value I am looking for.


I tried using the "Global Variables" view, but that doesn't seem to update, ever.


I tried setting a "Pause Point" so that the debugger can "suspend program execution long enough to refresh debugger data."  Apparently, that means halt execution no different than a break point, because that it is what is happening.


Any advice is appreciated.