Debugging is the process of finding and resolving defects or problems within a computer program that prevents the correct operation of computer software or a system.
Is there a general way to set a variable XYZ equal to the text of thecode line being executed now? Debugger or production. For example, for a code below if code is currently assigning a to 1, XYZ would be equal "S a=1". The same question about a variable containing current routine name.