[Mono-list] Tracing thrown exceptions on application start
Aleksandar Dezelin
Aleksandar Dezelin <dezelin@gmail.com>
Mon, 21 Feb 2005 08:55:54 +0100
I have a small test application. I run it with the following command:
mono --debug --trace=T:System.Exception Test.exe
This is what I get displayed in console window:
[skynet@dezelin32 lib]$ mono --debug --trace=T:System.Exception
Server.exe --breakonex
ENTER: System.Exception:.ctor
(string)(this:0x96b7f88[System.OutOfMemoryException Server.exe],
[STRING:0x96b8fc0:Out of memory], )
LEAVE: System.Exception:.ctor (string)
ENTER: System.Exception:set_HResult
(int)(this:0x96b7f88[System.OutOfMemoryException Server.exe],
-2146233087, )
LEAVE: System.Exception:set_HResult (int)
ENTER: System.Exception:set_HResult
(int)(this:0x96b7f88[System.OutOfMemoryException Server.exe],
-2147024882, )
LEAVE: System.Exception:set_HResult (int)
ENTER: System.Exception:.ctor
(string)(this:0x96b7f50[System.NullReferenceException Server.exe],
[STRING:0x96baf00:A null value was found where an object instance was
required], )
LEAVE: System.Exception:.ctor (string)
ENTER: System.Exception:set_HResult
(int)(this:0x96b7f50[System.NullReferenceException Server.exe],
-2146233087, )
LEAVE: System.Exception:set_HResult (int)
ENTER: System.Exception:set_HResult
(int)(this:0x96b7f50[System.NullReferenceException Server.exe],
-2147467261, )
LEAVE: System.Exception:set_HResult (int)
ENTER: System.Exception:.ctor
(string)(this:0x96b7f18[System.StackOverflowException Server.exe],
[STRING:0x96bbf50:The requested operation caused a stack overflow.], )
LEAVE: System.Exception:.ctor (string)
ENTER: System.Exception:set_HResult
(int)(this:0x96b7f18[System.StackOverflowException Server.exe],
-2146233087, )
LEAVE: System.Exception:set_HResult (int)
ENTER: System.Exception:.ctor
(string)(this:0x9685e00[System.Xml.XmlException Server.exe],
[STRING:0x96c1e60:invalid encoding specification.], )
LEAVE: System.Exception:.ctor (string)
ENTER: System.Exception:set_HResult
(int)(this:0x9685e00[System.Xml.XmlException Server.exe], -2146233087,
)
LEAVE: System.Exception:set_HResult (int)
ENTER: System.Exception:.ctor
(string)(this:0x9855ea8[System.IndexOutOfRangeException Server.exe],
[STRING:0x985aa00:Array index is out of range.], )
LEAVE: System.Exception:.ctor (string)
ENTER: System.Exception:set_HResult
(int)(this:0x9855ea8[System.IndexOutOfRangeException Server.exe],
-2146233087, )
LEAVE: System.Exception:set_HResult (int)
EXCEPTION handling: IndexOutOfRangeException
ENTER: System.Exception:.ctor
(string)(this:0x9855ea8[System.IndexOutOfRangeException Server.exe],
[STRING:0x985aa00:Array index is out of range.], )
LEAVE: System.Exception:.ctor (string)
ENTER: System.Exception:set_HResult
(int)(this:0x9855ea8[System.IndexOutOfRangeException Server.exe],
-2146233087, )
LEAVE: System.Exception:set_HResult (int)
EXCEPTION handling: IndexOutOfRangeException
*** Registracija Remoting servisa je zavrsena...
Press enter to stop this process.
How can I see where are those exceptions thrown?
Project is compiled with debugging info on.
Cheers,
Aleksandar Dezelin
--
Linux is like wighwam, no windows no gates and apache inside...