Click here to Skip to main content
15,885,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to trace log information of any website?

Website may developed in any language. But have to trace that exceptions alone.

Lets take example, we browsing a website www.traceexception.com. Website developers may handled exception in any way. now i need to trace that exception. Means while accessing website if any exception occurs ( ex:object reference not set to instance of an object) i need to trace that exception.

I am exception any tool or code to achieve this.
Posted
Comments
Suvabrata Roy 8-Oct-15 3:00am    
If developer Handel the exception still you the same?

1 solution

One way would be to intercept all the web based communication on the computer where browsing is done. In all the responses, you can check the HTTP status (assuming error related status is sent back) and save that.

Other than that there can not be any generic way to tracing. You will need to parse the responses and identify responses with error messages.
 
Share this answer
 
Comments
tnkarthi 8-Oct-15 3:04am    
thanks. is there any code or tool to catch error related status ? or how to achieve that?
dan!sh 8-Oct-15 3:10am    
Fiddler or Wireshark will be a good place to start. BTW, I don't understand the purpose of doing something like this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900