Your eTPU code is written using symbolic data (e.g. int A,B,C) the ideally way to debug and test it is symbolic, also. The following are examples of script commands that access data symbolically.
write_val("g_e", "0xdead");
verify_val("g_e", "==", "0xdead");
Click here to download this example