[Mono-list] assembly bind tracking

Robert Jordan robertj at gmx.net
Mon May 4 16:52:01 EDT 2009


fozzie wrote:
> Is there a way to track assembly binding in Mono? I tried fuslogvw, but it
> seems MS-specific. I have code in one appdomain which calls code in
> another.. i think i'm being careful but i want to make sure assemblies
> aren't getting loaded in the caller to resolve types (or for any other
> reason unknown to me). I'm using embedded Mono built from source.

#include <mono/utils/mono-logger.h>

mono_trace_set_mask_string ("info");
mono_trace_set_level_string ("asm");

The options are documented on mono's man page. Search
for MONO_LOG_LEVEL, MONO_LOG_MASK.

Robert



More information about the Mono-list mailing list