We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I want to set a breakpoint which will print a value, and then resume execution. The documentation for the 'Command' box in the 'Breakpoints' debugger dialogue says, "When you specify a Command for a breakpoint, uVision2 executes the command and resumes executing your target program." Therefore I have used a printf in the 'Command' box, on the assumption that it will print the required value and then continue execution. However, when the Break occurs, I get,
"*** error 121: AGDI: cannot access target while executing"
FUNC void fred( void ) { unsigned char crock; crock = 'p->status; printf( "%02x\n", crock ); }