Call stack missing info on mono with apache and mod_mono

How to enable debugging / stacktrace with file names and numbers with apache2 / mod_mono? Instead of file names 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 recompiling mod_mono with --enable-debug and I have it <compilation debug="true">inside configuration>system.web>httpRuntimein web.config.

I am using debian lenny and I tried installing a mono debugger, restarting apache and still have no luck. I have not even used the tuning tool without any luck. Many of them are supported only when using? http://go-mono.com/config-mod-mono/

+3
source share
1

. . , mono-core-debuginfo, .

-, Mono

* 1: /httpd.conf

MonoSetEnv MonoDebug true

* 2: xsp/mod-mono-server debug

$ MONO_OPTIONS=--debug xsp2
+3

Source: https://habr.com/ru/post/1768487/


All Articles