A
Aaron
this is what I want to do.
i have an input box and a submit button. the input gets processed by my
program and it returns the results. depending on the input, not all the
functions in my program are called, some might be called multiple
times, the order of functions called might be different each time. I
would like to log all this, what function actually got called...
this is my plan
create a global string named TRACE
in each function add its name to trace
string processInput1(string input)
{
//process input
....
TRACE = TRACE + "processInput1";
return input
}
but this is method is clumsy. is there a builtin function in dotNet?
please show me a good example.
Thanks in Advance
Aaron
i have an input box and a submit button. the input gets processed by my
program and it returns the results. depending on the input, not all the
functions in my program are called, some might be called multiple
times, the order of functions called might be different each time. I
would like to log all this, what function actually got called...
this is my plan
create a global string named TRACE
in each function add its name to trace
string processInput1(string input)
{
//process input
....
TRACE = TRACE + "processInput1";
return input
}
but this is method is clumsy. is there a builtin function in dotNet?
please show me a good example.
Thanks in Advance
Aaron