Re: [Mono-list] Debug.Assert - a cross-platform issue

2014-03-09 Thread Andrés G. Aragoneses
On 09/03/14 06:28, MarLOne wrote: > Hi all, > > I have found out the run time discrepancy of Debug.Assert() in CLR and in > Mono. The answer literally is in front of our eyes. > > The difference is in this property: > System.Diagnostics.DefaultTraceListener.AssertUiEnabled. > > In *CLR* the defa

Re: [Mono-list] Debug.Assert - a cross-platform issue

2014-03-09 Thread Ian Norton
Oops.. Anyway.. The reason why it is false by default is that there is no trace listener enabled by default. You can enable it in several ways. 1. export MONO_TRACE_LISTENER=Console.Error 2. Adding one. var tl = new System.Diagnostics.ConsoleTraceListener(); System.Diagnostics.Debug.Listeners.A

[Mono-list] Embedding Mono - A question about mono.dll

2014-03-09 Thread KareemErgawy
Hi, I want to use Mono as a scripting engine in a project (game engine) I am working on. I started reading the guide at: http://www.mono-project.com/Embedding_Mono. Starting with the first step "Compiling and Linking", I created the mono.lib file as instructed for the Windows platform. My problem i