print values of register and variables to computer

Is there a way to use printf or some other function to print values of registers or variables to the arduino compiler screen?

Have you looked over the Arduino reference section for the Print function, it should be able to do what you are asking, formating the data to be sent to the Arduino IDE serial monitor.


Thank you.