[Mono-list] xsp2 line numbers in stack trace?

Miguel de Icaza miguel at ximian.com
Sun Feb 11 09:57:38 EST 2007


Hello,

> Thanks for the reply, when I do this, I get line numbers for the
> assemblies that come with mono (i.e. xsp2), but not the assemblies I
> am compiling, here is an example stack trace:

Debug information for the code generated is controlled by a number of
settings, in your web.config there is a debugging flag that must be set,
or you can set that in the top of your asp pages.

For the actual details see:

	http://www.mono-project.com/ASP.NET#Debugging

> StackTrace:
>   at System.Uri.Parse (System.String uriString) [0x007c0]
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System/System/Uri.cs:1386 
>   at System.Uri.ParseUri () [0x00000] in /tmp/scratch/BUILD/mono-
> 1.2.2.1/mcs/class/System/System/Uri.cs:1051 
>   at System.Uri..ctor (System.String uriString, Boolean dontEscape)
> [0x00064]
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System/System/Uri.cs:161 
>   at System.Uri..ctor (System.String uriString) [0x00000]
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System/System/Uri.cs:114 
>   at System.Web.Services.Protocols.WebClientProtocol.set_Url
> (System.String value) [0x00007]
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System.Web.Services/System.Web.Services.Protocols/WebClientProtocol.cs:141 
>   at (wrapper remoting-invoke-with-check)
> System.Web.Services.Protocols.WebClientProtocol:set_Url (string)
>   at Drawba.SPI.FriendService.GetFriendService (System.String
> endpoint) [0x00000] 
>   at Drawba.Model.Friend.CustomLoad (EmergeTk.Model.FilterInfo[]
> filters) [0x00000] 
> 
>  stack trace: 
>    at Drawba.Model.Friend.CustomLoad ()
>    at EmergeTk.Model.SQLiteRecord.Load ()
>    at Drawba.Model.Friend.GetFriend ()
>    at Drawba.Widgets.Login.Login_OnClick ()
>    at System.MulticastDelegate.invoke_void_Widget_string ()
>    at EmergeTk.Widgets.Html.TextBox.HandleEvents ()
>    at EmergeTk.Context.Transform ()
>    at EmergeTk.Context.Connect ()
>    at EmergeTk.ContextHandler.ProcessRequest ()
>    at System.Web.HttpApplication+<>c__CompilerGenerated3.MoveNext ()
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System.Web/System.Web/HttpApplication.cs:line 955
>    at System.Web.HttpApplication.Tick ()
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System.Web/System.Web/HttpApplication.cs:line 634
>    at System.Web.HttpApplication.Start ()
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System.Web/System.Web/HttpApplication.cs:line 1100
>    at
> System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest () in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System.Web/System.Web/HttpApplication.cs:line 1166
>    at System.Web.HttpRuntime.RealProcessRequest ()
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System.Web/System.Web/HttpRuntime.cs:line 276
>    at System.Web.HttpRuntime.ProcessRequest ()
> in /tmp/scratch/BUILD/mono-1.2.2.1/mcs/class/System.Web/System.Web/HttpRuntime.cs:line 304
>    at Mono.WebServer.MonoWorkerRequest.ProcessRequest ()
> in /tmp/scratch/BUILD/xsp-1.2.1/src/Mono.WebServer/MonoWorkerRequest.cs:line 246
>    at Mono.WebServer.BaseApplicationHost.ProcessRequest ()
> in /tmp/scratch/BUILD/xsp-1.2.1/src/Mono.WebServer/BaseApplicationHost.cs:line 104
>    at Mono.WebServer.XSPApplicationHost.ProcessRequest ()
> in /tmp/scratch/BUILD/xsp-1.2.1/src/Mono.WebServer/XSPApplicationHost.cs:line 202 
>    at Mono.WebServer.XSPWorker.RunInternal ()
>    at System.MulticastDelegate.invoke_void_object ()
> 
> Any ideas?  I'm compiling in DEBUG, and mdb files are in the bin
> folder along with the assemblies.
> 
> Thanks again!
> 
> --ben
> 
> On 1/27/07, Miguel de Icaza <miguel at ximian.com> wrote:
>         Hello,
>         
>         > Sorry George, I have been unable to solve this.  It's been
>         a  bother
>         > for me for months now.
>         
>         Use from the shell:
>         
>                 bash$ MONO_OPTIONS=--debug xsp2
>         
>         
>         > --ben
>         >
>         > On 1/17/07, George Wu <aihuawu at gmail.com> wrote:
>         >         Hi, Ben:
>         >
>         >         I noticed a message from you on Ximian mailing list.
>         >         I am using xsp 1.2.1 and got exactly same problem.
>         >         I tried the --debug option and it doesn't print my
>         own code
>         >         line number.
>         >         Have you made it work since then?
>         >
>         >         Any suggestions will be greatly appreciated! 
>         >
>         >         George Wu
>         >
>         >
>         >
>         >
>         >
>         > --
>         > ben joldersma
>         > http://ben.creationsnetwork.org
>         > _______________________________________________ 
>         > Mono-list maillist  -  Mono-list at lists.ximian.com
>         > http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> 
> -- 
> ben joldersma
> http://ben.creationsnetwork.org 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list


More information about the Mono-list mailing list