[MonoDevelop] Issues debugging unit tests in MonoDevelop 2.4.2

IBBoard ibboard at gmail.com
Tue Mar 15 15:57:03 EDT 2011


On 14/03/11 09:28, Lluis Sanchez Gual wrote:
> El dg 13 de 03 de 2011 a les 15:05 -0700, en/na emacarie va escriure:
>> I have been developing on .NET with VS and Sharp Develop for a while, and
>> have just been recently trying out Mono Develop so please be patient if this
>> is a dumb question :)
>>
>>     I was trying out Mono Develop 2.4.2 on a fresh install of openSuse 11.4
>> with a project I was working on.  The good news is that my project compiles
>> and work perfectly :)
>>
>>     The bad news is that I am having a hard time developing using my
>> preferred style of doing TDD.
>>     I have two problems:
>>       1)  When I debug unit tests either from the mono UI or the nunit test
>> runner and I use the expression evaluator to evaluate a list I get the
>> following error:
>>           Unknown type 'System.Collections.Generic.CollectionDebuggerView'
>>           This occurs when I have a collection with a custom class (any
>> custom class): i.e.
>>            List objList = new List() {new TestClass(), new TestClass()} ;
>>           The expression evaluator works correctly if I am debugging an
>> executable using F5
>
> It's hard to tell what's wrong without a specific test case. Could you
> please file a bug (http://monodevelop.com/Bugs) and attach a simple test
> project that reproduces the issue?
>

I found this in the latest Git Master at one point, but by the time I 
came to report it a day or two later then it was fixed. It happened with 
every parameterised collection class that I tried. Could it be something 
to do with Mono 2.10 and the way that the debugger potentially alters 
things?


More information about the Monodevelop-list mailing list