Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Visual FoxPro » Testing » VB » Debugging   (RSS)
Sorry, but there are no more tags available to filter with.

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 | 5 Comments
 
Page view tracker