-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 04 Jul 2003 3:29 pm, Marco Canini wrote: > On Fri, 2003-07-04 at 13:24, J�rg Rosenkranz wrote: > > Hi all, > > > > I have a question to all Mono developers out there: > > How do you debug your programs? > > > > I have not managed to get the Mono debugger working and > > all statements on the list regarding this subject are saying: > > It's broken in CVS. > > > > So I have to debug a fairly complex app using Console.WriteLine... > > Is there another way to search for bugs in Mono under Linux? > > > > Maybe someone can point me in the right direction ;-) > > sorry, but at the moment console.writeline is the only way :((
Are there any indications of how long it will be before it is operational again? I am kicking off porting a largish (~20,000 lines) project to run under Mono and I'm going to need a bit of debugging support ;-> The project uses multiple assemblies, ADO.NET, ASP.NET, XML SqlClient, and all sorts of other stuff so it will be fairly involved to get it all working. On the plus side, the whole thing compiled with only 2 lines of code changed (can't write to EventLog) but it doesn't run my simple test app, instead complaining about type conversions: Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type in <0x0007a> 00 System.Data.SqlClient.SqlDataReader:GetInt32 (int) in <0x00189> 00 Interesource.Publish.Client.ContentList:.ctor (System.Data.IDataReader,bool) in <0x00012> 00 Interesource.Publish.Client.ContentList:.ctor (System.Data.IDataReader) in <0x000a2> 00 Interesource.Publish.Client.ContentProvider:ListContentItems (Interesource.Publish.Entities.ContentTypeKey) in <0x0009e> 00 simpletest.SimpleTest:Main (string[]) Now, this code works on both Framework 1.0 and 1.1, so I'm guessing there is a little work needed on the type casting for Mono. Without a debugger it's going to be a nightmare trying to get it all working, so I'm hoping that debugger will be available again soon. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iQIVAwUBPwWb8vr1e7bH1pzBAQIWXA//Rqt59/IhC4yjreRIFT8og7L+g02jZNom +qHfJoKGzRd1WthU9EQiccfbbn8yxeIARohouqz4ADlQvs2FBDBVi899BEu30DMo peCEumCCx8ljt24aLqCtAPCNF1m1YKRqmMQNAgQaS/ScVyF3VKPmYS3nGrTNa2Ty 3n/ogCJZsfevdZHJ/5Qkn+RhpIoejxBglMeJCOqtIqw8MU67UgaeVOPAi8eIPzOI vrJzLHbJQg+jAalvpyDZEaWhjIHXTYbseXuPT4fqvUUuRnjW1gHNNv/XbEUCSeMN 6OfVLWOwa3rZABhgCEu2spJ61uTEbP2YhF+NPNpqXcY8a9GwCT2p+4HFaCDtnoI2 k9qXMiQfqIg89enVPAQH0Mva+1/MCWrW69vVYUePzVYXriOEnvdVI9YKVgG2YTvz bmkUe6yy0+XOQX/Ym6D41ZjgCBiynU3avzkGlGjvxb+mt7MyAJsMvS+ca3zGHBjH +TO/1Er2KRpzAxZCQsgtrtpuQYNLpnDPdLBah7AdGNJqDRL9FfAnP1LFqkS+CuWf ti0eXwTdvCDHR+96QZQj0IILEVlhYviYA7EB4nYnDp36fQ4qRM301GsPTCfS2YSW /Pw2bJDb4suYxWWWfGyMlqgc3Vmz7jTaLCxT41jdLl7GSL8q5H1KzqU08m/xTctK UnmRblxEA1U= =3jki -----END PGP SIGNATURE----- _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
