How do i enable debugging/stacktrace with filenames and numbers with apache2/mod_mono? Instead of filenames and numbers i get something like this
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0
I tried using MonoDebug true in apache and recompile mod_mono with --enable-debug and i have <compilation debug="true">
inside of configuration>syste开发者_JS百科m.web>httpRuntime
in web.config.
i am using debian lenny and i tried installing mono-debugger, restart apache and still no luck. I even used the configuration tool with no luck. Many its only supported on suse? http://go-mono.com/config-mod-mono/
I had the same problem. There are quite few solutions. First of all, you MUST install mono-core-debuginfo package, or it might not work.
Second, you must run Mono in debug mode
*Solution 1: Add this to your virtual host section/httpd.conf
MonoSetEnv MonoDebug true
*Solution 2: Start xsp/mod-mono-server with debug
$ MONO_OPTIONS=--debug xsp2
精彩评论