Thread: c# exceptions
View Single Post
Old 10-13-2003, 11:17 PM   #4 (permalink)
npa
Code Monkey
 
Join Date: Jul 2003
Location: canada
Posts: 82
npa is on a distinguished road
sdeming, the .toString contains that data already ...

the answer is actually to do:

Code:
catch(Exception e){
  System.Diagnostics.StackTrace st = new ... StackTrace();
  Response.Write(st.ToString());
}
you will, however, need to have "debugging" enabled
in your project. (or something like that).
__________________
direct entry file specification.
npa is offline   Reply With Quote