Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Testing » Debugging » VB   (RSS)

Find the Executing function's name

Often I want to write the SAME code that will display the name of the currently executing method or function. That way I can just copy/paste the same code into multiple methods. For example, in sub Form1_Load I could put this line: System.Diagnostics.Debug.WriteLine(
Posted by Calvin_Hsia | 4 Comments
 
Page view tracker