[Mono-list] Mono + XSP 2.0.1 debug on Windows

Bálint Kardos kardosbalint at gmail.com
Tue Nov 4 10:54:15 EST 2008


Hi,
I'm trying to port an WebSite application to Mono, and there's a weird
NullReferenceException if it's running on mono,
but no stack trace is avaliable. How to start mono or xsp on Windows (Vista)
in real debug mode?
Or for better should I install linux to get full stack trace?:)

I've installed the latest Mono 2.0.1 with the installer. I tried to do some
modifications to the %PRogram files%\Mono-2.0.1\bin\xsp2.bat

@"C:\PROGRA~1\MONO-2~1.1\bin\mono.exe" --debug
"C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\winhack\xsp2.exe" --verbose %*

but still if i run it with parameters, i still just get the below
information in the browser, where the error happened:

System.NullReferenceException: Object reference not set to an instance
of an object
  at X._Default.BuildFooter (System.String xml) [0x00000]
  at X._Default.Page_Load (System.Object sender, System.EventArgs e) [0x00000]
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00029] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0.1\mcs\class\System.Web\System.Web.UI\Control.cs:953



the console doesn't show up any errors.

any help (, and a working MonoDevelop installer for Windows) would be truly
appreciated. :)

üdvözlettel
with regards

Kardos Bálint
_______________________________________
http://skaelede.hu 10 (0xA) év a magyar weben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20081104/1a6cde85/attachment.html 


More information about the Mono-list mailing list