Printing all the lines of code that are executed when running/debugging the code


I would like to develop a plugin that simply prints to a file every line of code that's executed (just the line of code straight from the source code file).

Is there some mechanism in the plugin SDK that would allow me to do something like this?
If it's only available when running the code in debug mode, that's not a problem for me.

If so I would greatly appreciate any tips on where to start looking (documentation, interfaces etc.).



Please sign in to leave a comment.