<s> import sys <EOL> import rospy <EOL> import inspect <EOL> def rapp_print ( var ) : <EOL> callerframerecord = inspect . stack ( ) [ <NUM_LIT:1> ] <EOL> frame = callerframerecord [ <NUM_LIT:0> ] <EOL> info = inspect . getframeinfo ( frame ) <EOL> rospy . logdebug ( '<STR_LIT>' + info . function + '<STR_LIT>' + str ( info . lineno ) + '<STR_LIT>' + str ( var ) ) </s>
