S
shumaker
Is there a way to get information like line number, function name, etc.
at compile time?
Something like:
MessageBox.Show( "Executed at" + __LINE__ + " in " + __FUNCTION__ );
The suggestions I've seen in this regard deal with doing this at
runtime which will only work if the code is not obfuscated, not
optimized, and includes debug information. I would prefer to insert
this information at compile time instead.
at compile time?
Something like:
MessageBox.Show( "Executed at" + __LINE__ + " in " + __FUNCTION__ );
The suggestions I've seen in this regard deal with doing this at
runtime which will only work if the code is not obfuscated, not
optimized, and includes debug information. I would prefer to insert
this information at compile time instead.