[MonoDevelop] Issues debugging unit tests in MonoDevelop 2.4.2

emacarie emil_macarie at yahoo.com
Sun Mar 13 18:05:29 EDT 2011


   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

    2)  When I debug a program, if there is some sort of error or loop, I
can stop it using the Run->Stop (Shift + F5)
         This option is not available when I am running my unit tests.  It
looks like I need to let my unit tests to run to completion.  Sometimes when
I do TDD I screw up a loop and I would like to break out of the code.  Is
this possible some other way ?

   Any suggestions would be very helpful,
   Thanks, 

        -Emil

--
View this message in context: http://mono.1490590.n4.nabble.com/Issues-debugging-unit-tests-in-MonoDevelop-2-4-2-tp3352649p3352649.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list