|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Catching Runtime exceptions.Hello All:
I have a project deployed to a client. The client reports me of a runtime exception occuring some times: Arithmetic Overflow It does not occur on my machine where I have the source code written. I handle this exception by logging the Err.source, Err.Description and Err.Erl into a text file. But for some reason the error line is being logged as line zero which doesnot help me to debug it. How exactly do I know where and why that exception occurs? Thanks in advance. I think you'll find it easier to use the new Try/Catch exception method then
check the exception object. That has a StackTrace string that will give you *very* detailed infromation on where the error happened. Or you can just use the .ToString method - I think that also displays the stack trace.
1 Variable - 2 Forms
Communication between threads MS Method Return Codes Words to Number Printing on a new page One Click Installation Detect TcpClient Connection dropped Excel already runnig, how to update with VB How to change ConnectionString for DataSet at runtime? filesystemobject.createfolder error codes |
|||||||||||||||||||||||