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

Michał Ziemski rook at roo.k.pl
Wed Dec 6 06:03:47 EST 2006


You should pass a --debug argument to mono when running mod-mono-server2.exe

For example change /usr/bin/mod-mono-server2.script to:

exec /usr/bin/mono $MONO_OPTIONS --debug 
"/usr/lib/mono/2.0/mod-mono-server2.exe" "$@"

Michał Ziemski
Ben Joldersma napisał(a):
> Hello all,
> I am trying to debug my asp.net <http://asp.net> application, and I'm 
> using xsp2 and mod-mono-server.  Although I am building debug builds, 
> and generating mdb files, the stack exceptions show [0x0000] for all 
> the offsets, and there is no line number following.  This makes things 
> trickier to debug, and while it's not the end of the world, it does 
> make things a lot harder, without having a graphical debugger.
> Anyone else seeing this?  I can get line numbers on exceptions on 
> console assemblies.
> thanks,
> --ben
> ------------------------------------------------------------------------
> _______________________________________________
> 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