|
-
Apr 19th, 2004, 12:43 AM
#1
Thread Starter
Hyperactive Member
Function Caller
Hi all,
I have a situation in ASP.Net where I need to know from which page or better: which procedure a given function is being called, anybody knows how this could be achieved?
I know that by passing a given parameter I could trace that but this would involve changing at least a line of code code in all my other pages and I prefer to keep this as a last resort. All help appreciated.
thanx.
-
May 14th, 2004, 11:24 AM
#2
You can use StackTrace (part of System.Diagnostics namespace) to loop through and check what method called your function.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|