My Client has uVision2 v2.07. I want to write a uVision2 Debugger User Function which will run to a breakpoint and then display program data values. eg: FUNC void test ( void ) { exec( "G" ); printf( "%02X\n", myVar ); } This should GO to a previously-defined breakpoint, then display the value of myVar. myVar is a 'static' local variable inside a function; the breakpoint is inside the same function. Unfortunately, the *wrong* value of myVar is displayed - usually the value from *before* the GO!!! The same problem arises if the User Debug Function tries to examine values, or use 'exec' to display values via EVAL, etc. Does anyone else have this problem? Does anyone know how to fix it? Obviously this renders the uVision2 Debugger User Functions virtually useless for automatic testing if the values displayed cannot be relied upon!