[Mono-list] Running an asp.net 2.0 app in mono develop, how to I get a stack trace with line numbers?
Peter Kellner
peter at peterkellner.net
Fri Jul 27 20:28:59 EDT 2007
I've compiled the csharp files in the project and have the debug profile
set. When it crashes, I get a stack trace that does not give me line
numbers. How can I find those? Is there a debugger built into
mono-develop? How to you guys debug in mono? Here is the stack trace
below I get. Thanks.
This conversion is not supported.
Description: Error processing request.
Error Message: HTTP 500. System.InvalidCastException: This conversion is
not supported.
Stack Trace:
System.InvalidCastException: This conversion is not supported.
at System.Convert.ToDateTime (Int32 value) [0x00000]
at System.Int32.System.IConvertible.ToDateTime (IFormatProvider
provider) [0x00000]
at System.Convert.ToType (System.Object value, System.Type
conversionType, IFormatProvider provider) [0x00000]
at System.Convert.ChangeType (System.Object value, TypeCode typeCode)
[0x00000]
at System.Web.UI.WebControls.ObjectDataSourceView.ConvertParameter
(TypeCode targetType, System.Object value) [0x00000]
at System.Web.UI.WebControls.ObjectDataSourceView.ConvertParameter
(System.Type targetType, System.Object value) [0x00000]
at System.Web.UI.WebControls.ObjectDataSourceView.GetParameterArray
(System.Reflection.ParameterInfo[] methodParams, IOrderedDictionary
viewParams, System.Collections.ArrayList& outParamInfos) [0x00000]
at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod
(System.Reflection.MethodInfo method, IOrderedDictionary paramValues)
[0x00000]
at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteInsert
(IDictionary values) [0x00000]
at System.Web.UI.WebControls.ObjectDataSourceView.Insert (IDictionary
values) [0x00000]
at System.Web.UI.WebControls.ObjectDataSource.Insert () [0x00000]
at ASP.membership_aspx.ButtonNewUser_Click (System.Object sender,
System.EventArgs e) [0x00000]
at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e)
[0x00000]
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String
eventArgument) [0x00000]
at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.Rai
sePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler
sourceControl, System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070727/c0a37d14/attachment.html
More information about the Mono-list
mailing list