Do I need to use mod-mono-server2.exe?  I tried added --debug to the mono
call for xsp2.exe, and this still does not give line numbers.  When I try
using mod-mono-server2.exe, I get line numbers, but I also get the "mod_mono
and xsp have different versions" error, so it is unusable.

I'm using mono 1.2.1, except for System.Web.dll, which I pulled in from mono
1.2 (I might also using mod-mono or xsp2 from 1.2, I tried copying them over
from a clean 1.2.1 folder, but maybe some dlls are still from 1.2 or
something...) because I was getting some errors with the new precompilation
stuff.  It's not a HUGE deal ... but it would be nice to have!

thanks for the suggestion,

--ben

On 12/6/06, Michał Ziemski <[EMAIL PROTECTED]> wrote:

Hi!

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

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

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

Cheers!
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  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>





--
ben joldersma
http://ben.creationsnetwork.org
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to