[Mono-aspnet-list] How to debug XSP itself

Thorsten T thorsten at atomia.com
Fri Jun 29 12:31:44 UTC 2012


I'm struggling to port my ASP.net application to mono. The problem is that
parsing the web.config itself causes "Cannot cast from source type to
destination type". Now this message in itself is not terrible useful as it
does not tell me which type the object has.

Now i had the idea to debug the XSP itself, put a breakpoint in the base
library of mono and check the involved types. But under windows starting
xsp4.exe from monodevelop causes an exception. It seems monodevelop cannot
attach to a running process.

I tried mdb under linux, but it seems outdated. It throws me a
"Mono.Debugger.Backend.DwarfException: /usr/local/bin/mono: Unknown standard
opcode 6 in line number engine" 
exception. Monodevelop on linux refuses to open the xsp.exe also.

So can someone who contributes to XSP tell me how to get a debugger attached
to it and break somewhere in the framework functions.

--
View this message in context: http://mono.1490590.n4.nabble.com/How-to-debug-XSP-itself-tp4650242.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list