SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Debugger can not show count property of c5 library collections

Last post 06-05-2007 5:13 PM by DanielGrunwald. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-05-2007 10:38 AM

    Debugger can not show count property of c5 library collections

    The library c5 is here  http://www.itu.dk/research/c5/

     

    I am debuggin the code.

    The variable is of type c5.LinkedList`1

    When i want to see the count property, it tells  System.TypeLoadException. The message of exception is " The generic type c5.LinkedList`1 was used with the wrong number of generic arguments in assembly.

    The same exception is for all properties. Variables are shown ok. 

     
     Is this a problem of c5 library, or #D debugger?

     
    BTW. I get the same exception for System.Collections.Generic.List`1  .This never happened before using c5 library.

     Friend of mine checked for this and got the same results. Both C5 and System.Collections.List count and other properties can not be loaded.
     

     

    #D 2.1.0, Build 2454 

    Filed under: ,
  • 04-05-2007 11:59 AM In reply to

    Re: Debugger can not show count property of c5 library collections

    The debugger currently does not support showing members on generic types.
    Daniel Grunwald
  • 06-05-2007 4:50 PM In reply to

    Re: Debugger can not show count property of c5 library collections

    This is a problem with the SharpDevelop debugger; it appears as though SharpDevelop does not properly reflect generic types still. Many of the initial exceptions are now being prevented, but the debugger is still nearly useless for actually debugging generics. This issue happens all over my application (there are Generics in several key locations within the application) which makes it nearly impossible to get reliable debug information unfortunately.

    I hope that this can be resolved soon I've been battling with it a lot lately.

    -TheXenocide

  • 06-05-2007 5:13 PM In reply to

    Re: Debugger can not show count property of c5 library collections

    Unfortunately the architecture of our debugger wasn't made with generics in mind, so we cannot support this in SharpDevelop 2.x.

    Daniel Grunwald
Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.