Hi !

Just for the case, someone has the same problem.

My missing "--debug" flags on an instance of a VirtualHost
are from my plain "MonoDebug on" statement. In a VirtualHost
you may have:

<VirtuaHost ...

        AddMonoApplications thor.test.apps
"/services:/var/www/thor.test/apps/services"
        MonoDebug true
...
</VirtualHost>

If one reads the docs carefully, you'll find this:

The alias used when no alias is provided, as in the earlier examples, is
"default". All of the mod_mono directives below that show an alias as the
first argument also can be specified by leaving the alias out, in which case
the "default" alias is used.

So, later, I understand and teh right statement in my VirtualHost is now:

<VirtuaHost ...

        AddMonoApplications thor.test.apps
"/services:/var/www/thor.test/apps/services"
        MonoDebug thor.test.apps true
...
</VirtualHost>

You'll now see in "ps -ef | grep mono", that your host has an instance name
and the "--debug "is right applied.

My be, that helps someone a bit ;-)

br--mabra


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, November 22, 2010 12:38 AM
To: [email protected]
Subject: [Mono-aspnet-list] Cannot get debugging info in Asp under apache

Hi All !

I have "MonoDebug true" in my apache's "VirtualHost" and I am using
"log4net" for logging, having debug output enabled to get the
linenumbers [while testing].

I find no way to do that. This works fine for me in MS-IIS. Just
to be sure, I recompiled "log4net" and set the directive shown
above and the debugging meta information are there.

In the web.config file, I have:
"<compilation debug="true" defaultLanguage="C#">".
If I compile [some DLLs], I use "gmcs -debug+ ...".

What do I miss here or what do I wrong?

I am currently using debian squeeze with:

r...@wieland:~# mono --version
Mono JIT compiler version 2.6.7 (Debian 2.6.7-3)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC and Parallel Mark)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

Any help would be really great!

br++mabra


_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Reply via email to